diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-07-10 21:41:54 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-07-10 21:41:54 +0000 |
| commit | a0ade0ee56188c1f0017cb565361ed2dea60d9ab (patch) | |
| tree | bffa118186de2976d4e15397691f68c117c2c062 /cpp/src/qpid/sys/Timer.h | |
| parent | 7b9b83717828b15870b56ae46326e42f3b418344 (diff) | |
| download | qpid-python-a0ade0ee56188c1f0017cb565361ed2dea60d9ab.tar.gz | |
Allow TimerTasks to be delayed correctly by separating out the time
used to sort in the priority queue and the firing time
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793120 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Timer.h')
| -rw-r--r-- | cpp/src/qpid/sys/Timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/Timer.h b/cpp/src/qpid/sys/Timer.h index c1f0ae89fc..fc7491d5ed 100644 --- a/cpp/src/qpid/sys/Timer.h +++ b/cpp/src/qpid/sys/Timer.h @@ -42,6 +42,7 @@ class TimerTask : public RefCounted { friend bool operator<(const boost::intrusive_ptr<TimerTask>&, const boost::intrusive_ptr<TimerTask>&); + AbsTime sortTime; Duration period; AbsTime nextFireTime; Mutex callbackLock; |
