-----Original Message----- From: Marziou, Gael [mailto:[EMAIL PROTECTED] Sent: Tuesday, 12 December 2006 9:21 PM To: Tomcat Users List Subject: RE: Multi processor issue
> Do you mean I should add a delay before the while loop to increase the > length of the critical section? Yes. Before and maybe within the loop. That should get the MT issue reproduced much easier. > What do you mean by yelding the CPU (sorry I'm French) ? Yielding the CPU means to let your thread give up the CPU so as to give the others thread a change to run. The delay call Thread.sleep() should yield the CPU. Sorry, I should have said in my previous email: "make some time delay - and the thread should yield the CUP". Dong --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]