summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2009-07-30 14:06:35 +0000
committerAndrew Stitcher <astitcher@apache.org>2009-07-30 14:06:35 +0000
commit00dabc8eee51d579919fa9b48ec0197d1d99372f (patch)
tree897ad809c9d9306dbf3740c37e9ca39fcad8dd1f /cpp/src
parent3230429c7db0cfa7236eb385ebf9c082abccee34 (diff)
downloadqpid-python-00dabc8eee51d579919fa9b48ec0197d1d99372f.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/qpid@799271 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/sys/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}