diff options
author | Marc Laukien <marc@zeroc.com> | 2002-02-12 04:59:12 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-02-12 04:59:12 +0000 |
commit | e764b6d2adc5a0ef75caf1f6f406af86bd95aa1c (patch) | |
tree | 1136dc7e95fc1d36b509f50a9b87a1c04179a576 /cpp/src/Ice/ThreadPool.h | |
parent | made some inline ops non-inline; added comments and TODOs (diff) | |
download | ice-e764b6d2adc5a0ef75caf1f6f406af86bd95aa1c.tar.bz2 ice-e764b6d2adc5a0ef75caf1f6f406af86bd95aa1c.tar.xz ice-e764b6d2adc5a0ef75caf1f6f406af86bd95aa1c.zip |
made some inline ops non-inline; added comments and TODOs
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 36a67788943..d829efa73f4 100644 --- a/cpp/src/Ice/ThreadPool.h +++ b/cpp/src/Ice/ThreadPool.h @@ -76,7 +76,7 @@ private: { public: - EventHandlerThread(const ThreadPoolPtr& pool) : _pool(pool) { } + EventHandlerThread(const ThreadPoolPtr&); virtual void run(); private: @@ -84,6 +84,7 @@ private: ThreadPoolPtr _pool; }; friend class EventHandlerThread; + std::vector<IceUtil::ThreadControl> _threads; // Control for all threads, running or not. int _threadNum; // Number of running threads. int _maxConnections; // Maximum number of connections. If set to zero, the number of connections is not limited. |