From 0a402ed00fc31d7f4735e4829aa0cb20f6eeb4bb Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Wed, 28 Nov 2001 13:59:41 +0000 Subject: todo --- cpp/src/Ice/ThreadPool.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpp/src/Ice/ThreadPool.cpp') 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 { -- cgit v1.2.3