diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-03-02 18:42:02 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-03-02 18:42:02 +0000 |
commit | ecd668842148df98b9e5bbea8fbc88a5f363d42b (patch) | |
tree | d818ee678418a18e94bf8ab25dc23ab907586d00 /cpp/src/qpid/sys/Poller.h | |
parent | 3578e8a032e35da6979edf48520a3b08a06f2e04 (diff) | |
download | qpid-python-ecd668842148df98b9e5bbea8fbc88a5f363d42b.tar.gz |
- Reworked DispatchHandler state machine to eliminate race conditions
particularly when deleting a DispatchHandle
- Reworked Poller interrupt mechanism eliminating locking problems and
to support DispatchHandler changes
- Beefed up the DispatchHandler test program so that it's a fair torture
test of the DispatchHandler code
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749406 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/Poller.h')
-rw-r--r-- | cpp/src/qpid/sys/Poller.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/Poller.h b/cpp/src/qpid/sys/Poller.h index 8e9f67fefd..96b4b9c361 100644 --- a/cpp/src/qpid/sys/Poller.h +++ b/cpp/src/qpid/sys/Poller.h @@ -86,8 +86,9 @@ public: // with the handle and the INTERRUPTED event type // if it returns false then the handle is not being monitored by the poller // - This can either be because it has just received an event which has been - // reported and has not been reenabled since. Or because it was removed - // from the monitoring set + // reported and has not been reenabled since. + // - Because it was removed from the monitoring set + // - Or because it is already being interrupted bool interrupt(PollerHandle& handle); // Poller run loop |