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/DispatchHandle.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/DispatchHandle.h')
| -rw-r--r-- | cpp/src/qpid/sys/DispatchHandle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/DispatchHandle.h b/cpp/src/qpid/sys/DispatchHandle.h index ffcbd80f7e..fb114ce5be 100644 --- a/cpp/src/qpid/sys/DispatchHandle.h +++ b/cpp/src/qpid/sys/DispatchHandle.h @@ -65,6 +65,7 @@ private: Mutex stateLock; enum { IDLE, INACTIVE, ACTIVE_R, ACTIVE_W, ACTIVE_RW, + ACTIVE_DELETE, DELAYED_IDLE, DELAYED_INACTIVE, DELAYED_R, DELAYED_W, DELAYED_RW, DELAYED_DELETE } state; |
