in reply to Fun with threads

100 threads? are you sure that's the best approach?

be sure that, if you're going to use that many threads, the threads are at least blocking. if you have 100 threads all waiting for input from different sockets, you won't see too much performance loss. but 100 active threads could easily get out of hand.