Re: Thread Sinchronization

2007-03-04 Thread Juliano
Yes I have. But it didn't help. Volatile modifier works on jvm cacheing issues isnt it? Thanks Neale. _ John Neale wrote: Have you tried marking the boolean as volatile? -Original Message- From: Juliano [mailto:[EMAIL PROTECTED] Sent: Sunday, 4 March 2007 10:52 AM To: J

Thread Sinchronization

2007-03-03 Thread Juliano
I'm developing a new assertion listener. it calculates the average of the sample times that arrive on* AssertionResult getResult(SampleResult) *method. Depending on the average time, it does something or not. When the average time reaches the defined value a boolean is set to true, but the ot