From: Joel VanderWerf Date: 2007-08-26T04:30:25+09:00 Subject: Re: Thread safety techniques for server applications? khaines@enigo.com wrote: > On Sun, 26 Aug 2007, ara.t.howard wrote: ... >> - if your task is cpu intensive AND you are on an SMP box AND you use >> many threads (aka lightweight processes) you will see a speed boost > > How do you figure that? On a CPU intensive task, the threading overhead > just removes from the amount of time that the CPU has to work on the CPU > intensive task. On second reading, I *think* what he was saying was one native thread per cpu. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407