Subj : Re: Futexes are wrong! (Are they?) To : comp.programming.threads From : Jomu Date : Mon Jun 13 2005 11:20 am David Schwartz wrote: > "Jomu" wrote in message > news:1118642255.487400.283850@g43g2000cwa.googlegroups.com... > > > Was I not clear enough with subject? > > The discussion clearly has nothing whatsoever to do with the subject. > The subject is a legacy from many, many posts ago. Any relationship to > futexes is long lost. > But has with platform. I did not pretend to be interested in anything except NPTL. .... > > Just please, name two advantages of thread-per-client. I've named at > least six advantages of a thread pool. 1. You don't have to make 10,000 bit bitset for select() call on 10,000 fd's; 2. Your kernel does not have to operate on (and nobody claimed it's been O(1)-ed) 10,000 bit bitset; 3. Of course you'll handle one real client in more than one thread (think browser opening 4 connections) so it's no use to pretend there is less "competition". It's only organized in another fun way :). .... dd > > DS .