diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/ThreadPool.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/Ice/ThreadPool.cpp b/cpp/src/Ice/ThreadPool.cpp index 2e319cc912f..8b7bbfca768 100644 --- a/cpp/src/Ice/ThreadPool.cpp +++ b/cpp/src/Ice/ThreadPool.cpp @@ -407,6 +407,14 @@ IceInternal::ThreadPool::run() _lastFd = _minFd - 1; } + // + // TODO: This code is very inefficient under Windows, + // because FD_ISSET is implemented as a loop, and + // because socketdescriptors are not small, ordered + // integers, like under Unix. Therefore this should be + // rewritten to use the fd_set structure under Windows + // directly. + // int loops = 0; do { |