<sigh> I see this was already pushed.

David

On 21/11/2011 10:47 AM, David Holmes wrote:
Gary,

On 19/11/2011 2:46 AM, Gary Adams wrote:
I think this change is ready to commit, just need
a sponsor for the last push (Mandy/David?).

http://cr.openjdk.java.net/~gadams/6818464/

As I've said before the reference to tdThread must be volatile as you
are communicating the value from the timer thread to the main thread. So
the idiom of using a one-element array instead of a static field is not
applicable in this case as you can not declare an array with volatile
elements.

David

Reply via email to