diff options
author | Marc Laukien <marc@zeroc.com> | 2003-01-17 03:58:50 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-01-17 03:58:50 +0000 |
commit | 8880977a608f0b735504f18a624de026cde62da7 (patch) | |
tree | a8fe5b082caf761337a165e1350a5f65f57bc95d /cpp/src/Ice/ThreadPool.cpp | |
parent | fixed a bug with findObjectAdapter (diff) | |
download | ice-8880977a608f0b735504f18a624de026cde62da7.tar.bz2 ice-8880977a608f0b735504f18a624de026cde62da7.tar.xz ice-8880977a608f0b735504f18a624de026cde62da7.zip |
ConnectionMonitor
Diffstat (limited to 'cpp/src/Ice/ThreadPool.cpp')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index f403b819a26..87db1874c48 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -249,7 +249,7 @@ IceInternal::ThreadPool::run() fd_set fdSet; memcpy(&fdSet, &_fdSet, sizeof(fd_set)); int ret; - if(_timeout) + if(_timeout > 0) { struct timeval tv; tv.tv_sec = _timeout; @@ -263,7 +263,7 @@ IceInternal::ThreadPool::run() if(ret == 0) // We initiate a shutdown if there is a thread pool timeout. { - assert(_timeout); + assert(_timeout > 0); _timeout = 0; initiateShutdown(); goto repeatSelect; |