diff options
author | Marc Laukien <marc@zeroc.com> | 2002-12-14 22:19:03 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-12-14 22:19:03 +0000 |
commit | a41bb120db0ccdea5eea58e26bd30eddaff40877 (patch) | |
tree | 955f720fb895739a61764d56234ac4a9595a1441 /cpp/src/Ice/ThreadPool.h | |
parent | some fixes (diff) | |
download | ice-a41bb120db0ccdea5eea58e26bd30eddaff40877.tar.bz2 ice-a41bb120db0ccdea5eea58e26bd30eddaff40877.tar.xz ice-a41bb120db0ccdea5eea58e26bd30eddaff40877.zip |
complete shutdown/deactivate re-implementation
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r-- | cpp/src/Ice/ThreadPool.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h index 133d6b16696..9860d06ffc7 100644 --- a/cpp/src/Ice/ThreadPool.h +++ b/cpp/src/Ice/ThreadPool.h @@ -17,7 +17,6 @@ #include <IceUtil/Shared.h> #include <IceUtil/Mutex.h> -#include <IceUtil/Monitor.h> #include <IceUtil/Thread.h> #include <Ice/ThreadPoolF.h> @@ -36,7 +35,7 @@ namespace IceInternal class BasicStream; -class ThreadPool : public ::IceUtil::Shared, public IceUtil::Monitor<IceUtil::Mutex> +class ThreadPool : public ::IceUtil::Shared, public IceUtil::Mutex { public: @@ -44,7 +43,6 @@ public: void unregister(SOCKET); void promoteFollower(); void initiateShutdown(); // Signal-safe shutdown initiation. - void waitUntilFinished(); void joinWithAllThreads(); private: @@ -70,7 +68,6 @@ private: fd_set _fdSet; std::list<std::pair<SOCKET, EventHandlerPtr> > _changes; // Event handler set for addition; null for removal. std::map<SOCKET, EventHandlerPtr> _handlerMap; - int _handlers; int _timeout; ::IceUtil::Mutex _threadMutex; bool _multipleThreads; @@ -89,7 +86,6 @@ private: friend class EventHandlerThread; std::vector<IceUtil::ThreadControl> _threads; // Control for all threads, running or not. - int _threadNum; // Number of running threads. }; } |