"FredrikJ" wrote : That would probably qualify as a double locked check which is unfortunately not thread safe (see http://www.ibm.com/developerworks/library/j-dcl.html). | |
Correct, to do this lock would have to be made volatile, which would trigger a memory barrier. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063660#4063660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063660 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
