summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/Timer.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-08-07 19:45:56 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-08-07 19:45:56 +0000
commitd6d15604657537f84654556b2c050c5274bd36b5 (patch)
tree2b5527d3a708c6eb879016c14d11e5b641a10143 /cpp/src/qpid/sys/Timer.cpp
parent1e24d25544fcbc71a3732ddd73312571690665b9 (diff)
downloadqpid-python-d6d15604657537f84654556b2c050c5274bd36b5.tar.gz
Removed unused files
Removed unused functions from Timer Switched TimerTest to sys::Timer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@802160 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Timer.cpp')
-rw-r--r--cpp/src/qpid/sys/Timer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/Timer.cpp b/cpp/src/qpid/sys/Timer.cpp
index 67e0e688bb..d569fb3bb7 100644
--- a/cpp/src/qpid/sys/Timer.cpp
+++ b/cpp/src/qpid/sys/Timer.cpp
@@ -67,13 +67,11 @@ void TimerTask::setupNextFire() {
// Only allow tasks to be delayed
void TimerTask::restart() { nextFireTime = max(nextFireTime, AbsTime(AbsTime::now(), period)); }
-void TimerTask::delayTill(AbsTime time) { period = 0; nextFireTime = max(nextFireTime, time); }
void TimerTask::cancel() {
ScopedLock<Mutex> l(callbackLock);
cancelled = true;
}
-bool TimerTask::isCancelled() const { return cancelled; }
Timer::Timer() :
active(false)