diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2009-07-30 14:06:35 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2009-07-30 14:06:35 +0000 |
| commit | a1b1ab88d5de7ef6753eb8173c691d1a3e568ddd (patch) | |
| tree | d72f1b253446598d66d5d03af4623a4b58923d17 /qpid/cpp/src | |
| parent | e3fb1550ea897cd79fe16976ed135e5c300ab64c (diff) | |
| download | qpid-python-a1b1ab88d5de7ef6753eb8173c691d1a3e568ddd.tar.gz | |
Fix sys::Timer code to push into priority list using the correct time
- fixes bug where timers get acted on out of sequence
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799271 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/sys/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/Timer.cpp b/qpid/cpp/src/qpid/sys/Timer.cpp index d77f4a0b1e..12bc8498ad 100644 --- a/qpid/cpp/src/qpid/sys/Timer.cpp +++ b/qpid/cpp/src/qpid/sys/Timer.cpp @@ -108,7 +108,7 @@ void Timer::run() tasks.push(t); } } - monitor.wait(tasks.top()->nextFireTime); + monitor.wait(tasks.top()->sortTime); } } } |
