>On Sat, 26 Jul 2003 18:57:43 +0200 Massimiliano Origgi < >origgi@xxxxxxxxxxxx> wrote: >> Well, that's a nice idea and speaking of CPUs as you mentioned, the >> limit >> could be set to the number of CPUs available as more threads wouldn't >> do any >> good anyway. >That's simply not true. Applying this argument on a one CPU machine, >one thread per application would be sufficient, too. But BeOS proves, >that pervasive use of threads significantly improves the UI >responsiveness. I'm not making the app_server single threaded, the responsiveness comes from the high priority threads which handle things like the mouse pointer, but having 2 threads with the same priority(aka 2 windows) fight for system resources doesn't give better performance as it causes more context switches. -- Massimiliano Origgi