commit | 6e3f637bab9bb19621382047d413100fe6c44e0a | [log] [tgz] |
---|---|---|
author | Mark Slee <mcslee@apache.org> | 周四 3月 01 22:05:46 2007 +0000 |
committer | Mark Slee <mcslee@apache.org> | 周四 3月 01 22:05:46 2007 +0000 |
tree | 8d4be56d3acda015ed1a6bf120f649cac8aac1f9 | |
parent | 7c10eaf35c200b46e26b9165be088b6a5d7dd791 [diff] |
Proper shutdown functionality for Thrift servers Reviewed By: karl git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665038 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/ThreadManager.h b/lib/cpp/src/concurrency/ThreadManager.h index f7c4b3c..cc13665 100644 --- a/lib/cpp/src/concurrency/ThreadManager.h +++ b/lib/cpp/src/concurrency/ThreadManager.h
@@ -68,6 +68,8 @@ * block until all the workers have finished their work. At that point * the ThreadManager will transition into the STOPPED state. */ + virtual void join() = 0; + enum STATE { UNINITIALIZED, STARTING,