Subj : Re: Challenge: Multithreading & Synchronization To : comp.programming.threads From : Sergey P. Derevyago Date : Wed May 18 2005 04:14 pm Uenal Mutlu wrote: > Here's a real-world synchronization challenge for accessing shared data > from multiple threads (some call this "thread synchonization"): > It's not a challenge, dude. It's even not a homework assignment. > 1) A server application uses threads to serve clients. > 2) It uses a thread per connected client. > 3) There can be as many as 1000 or even more clients. > Don't use "a thread per connection" in a case of "as many as 1000 or even more clients" -- it's a HUGE pessimization. -- With all respect, Sergey. http://ders.angen.net/ mailto : ders at skeptik.net .