summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-11-28 13:59:41 +0000
committerMarc Laukien <marc@zeroc.com>2001-11-28 13:59:41 +0000
commit0a402ed00fc31d7f4735e4829aa0cb20f6eeb4bb (patch)
tree820edc1ce2170594b9308229fc47fe794fe482f2 /cpp/src
parentfixed the select bug under win32 (diff)
downloadice-0a402ed00fc31d7f4735e4829aa0cb20f6eeb4bb.tar.bz2
ice-0a402ed00fc31d7f4735e4829aa0cb20f6eeb4bb.tar.xz
ice-0a402ed00fc31d7f4735e4829aa0cb20f6eeb4bb.zip
todo
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/ThreadPool.cpp8
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
{