From 00dabc8eee51d579919fa9b48ec0197d1d99372f Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 30 Jul 2009 14:06:35 +0000 Subject: 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/qpid@799271 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp') diff --git a/cpp/src/qpid/sys/Timer.cpp b/cpp/src/qpid/sys/Timer.cpp index d77f4a0b1e..12bc8498ad 100644 --- a/cpp/src/qpid/sys/Timer.cpp +++ b/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); } } } -- cgit v1.2.1