At 04:26 PM 7/23/02 +0200, Arthur Bergman wrote:
>>Hmmm.. are they testing serialization as well?  I just realized that the 
>>multi-thread job submission test in Thread::Pool just tests whether the 
>>jobs are handled in the right order, but not whether they're really 
>>handled in parallel.  On the other hand, some tests would take a _lot_ 
>>longer than they would when done in parallel, so I guess it does 
>>parallellize properly...
>You have a big SMP box or something?

Who?  Me?  Nope, small single CPU Linux box, left over from the time I had 
plenty of machines like that...

It's just if you have a very small testing task (such as simply returning a 
value), I found that many tasks get handled by a single thread before 
context switching takes place.  A random sleep() stops that quite 
nicely...  ;-)


Liz

Reply via email to