diff options
| author | Alan Conway <aconway@apache.org> | 2007-11-01 00:38:58 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-11-01 00:38:58 +0000 |
| commit | d4838b1db929de6d650b7cdf574c04425c01b38d (patch) | |
| tree | d519ff7d639f6f1bca111bc12930abf1da405e67 /cpp/src/qpid/sys | |
| parent | af6457122a32f1f5a0224fc54f3d0c24377510e3 (diff) | |
| download | qpid-python-d4838b1db929de6d650b7cdf574c04425c01b38d.tar.gz | |
Preparation for session thread safety overhaul:
- simplified SessionState, responsibility for protocol states now in Handlers
- qpid::RefCounted, qpid::intrusive_ptr reference counting support.
- build boost unit tests as single exe, speeds up testing.
- fixed leak in AsynchIOAcceptor.cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@590869 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys')
| -rw-r--r-- | cpp/src/qpid/sys/AsynchIOAcceptor.cpp | 2 | ||||
| -rw-r--r-- | cpp/src/qpid/sys/AtomicCount.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/AsynchIOAcceptor.cpp b/cpp/src/qpid/sys/AsynchIOAcceptor.cpp index eccfb1465e..bdf3e3b8d3 100644 --- a/cpp/src/qpid/sys/AsynchIOAcceptor.cpp +++ b/cpp/src/qpid/sys/AsynchIOAcceptor.cpp @@ -173,7 +173,7 @@ void AsynchIOAcceptor::run(ConnectionInputHandlerFactory* fact) { d.run(); // Now wait for n-1 io threads to exit - for (int i=0; i>numIOThreads-1; ++i) { + for (int i=0; i<numIOThreads-1; ++i) { t[i].join(); } } diff --git a/cpp/src/qpid/sys/AtomicCount.h b/cpp/src/qpid/sys/AtomicCount.h index 63670cbf00..b542e37039 100644 --- a/cpp/src/qpid/sys/AtomicCount.h +++ b/cpp/src/qpid/sys/AtomicCount.h @@ -28,7 +28,7 @@ namespace sys { /** * Atomic counter. */ -class AtomicCount : boost::noncopyable { +class AtomicCount { public: typedef ScopedDecrement<AtomicCount> ScopedDecrement; typedef ScopedIncrement<AtomicCount> ScopedIncrement; |
