Java LockSupport Memory Consistency

Posted by Lachlan on Stack Overflow See other posts from Stack Overflow or by Lachlan
Published on 2010-03-19T04:55:54Z Indexed on 2010/03/19 5:01 UTC
Read the original article Hit count: 558

Java 6 API question. Does calling LockSupport.unpark(thread) have a happens-before relationship to the return from LockSupport.park in the just-unparked thread? I strongly suspect the answer is yes, but the Javadoc doesn't seem to mention it explicitly.

© Stack Overflow or respective owner

Related posts about java

Related posts about concurrency