summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ThreadPool.h
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-01-16 10:37:23 +0000
committerMatthew Newhook <matthew@zeroc.com>2007-01-16 10:37:23 +0000
commit8bccaa84b6b2c204608af57e1710028b7d71ff3f (patch)
treed2385d8753ceb677110d6d8c508a1bac837ef486 /cpp/src/Ice/ThreadPool.h
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1665 (diff)
downloadice-8bccaa84b6b2c204608af57e1710028b7d71ff3f.tar.bz2
ice-8bccaa84b6b2c204608af57e1710028b7d71ff3f.tar.xz
ice-8bccaa84b6b2c204608af57e1710028b7d71ff3f.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1179
Diffstat (limited to 'cpp/src/Ice/ThreadPool.h')
-rw-r--r--cpp/src/Ice/ThreadPool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/Ice/ThreadPool.h b/cpp/src/Ice/ThreadPool.h
index 84ee595ceb4..a0ecc923a46 100644
--- a/cpp/src/Ice/ThreadPool.h
+++ b/cpp/src/Ice/ThreadPool.h
@@ -48,6 +48,9 @@ public:
void destroy();
+ void incFdsInUse();
+ void decFdsInUse();
+
void _register(SOCKET, const EventHandlerPtr&);
void unregister(SOCKET);
void promoteFollower();
@@ -74,6 +77,7 @@ private:
SOCKET _fdIntrWrite;
#if defined(_WIN32)
fd_set _fdSet;
+ int _fdsInUse;
#elif defined(__linux)
int _epollFd;
std::vector<struct epoll_event> _events;