diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-01-16 10:37:23 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-01-16 10:37:23 +0000 |
commit | 8bccaa84b6b2c204608af57e1710028b7d71ff3f (patch) | |
tree | d2385d8753ceb677110d6d8c508a1bac837ef486 /cpp/src/Ice/ThreadPool.h | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1665 (diff) | |
download | ice-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.h | 4 |
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; |