summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r--cpp/src/Ice/ThreadPool.h3
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.