diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-18 06:36:28 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-18 06:36:28 +0000 |
commit | c4a5072ae4c5f3ec63b0b3213d72fda3d274a67c (patch) | |
tree | 5bf3b5d86e4ed5562bbeb60453a69dfed7ecbcbc /cpp/src/Ice/ThreadPool.h | |
parent | bug fix (diff) | |
download | ice-c4a5072ae4c5f3ec63b0b3213d72fda3d274a67c.tar.bz2 ice-c4a5072ae4c5f3ec63b0b3213d72fda3d274a67c.tar.xz ice-c4a5072ae4c5f3ec63b0b3213d72fda3d274a67c.zip |
thread-safe shutdown
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r-- | cpp/src/Ice/ThreadPool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h index c1374167d06..962bffe862d 100644 --- a/cpp/src/Ice/ThreadPool.h +++ b/cpp/src/Ice/ThreadPool.h @@ -28,6 +28,7 @@ public: void _register(int, const EventHandlerPtr&); void unregister(int); void promoteFollower(); + void initiateServerShutdown(); // Signal-safe shutdown initiation. void waitUntilServerFinished(); void waitUntilFinished(); void joinWithAllThreads(); @@ -39,7 +40,7 @@ private: void destroy(); friend class Instance; - void clearInterrupt(); + bool clearInterrupt(); void setInterrupt(); void run(); |