
...
Wiki Markup |
---|
This compliant solution uses the {{signalAll()}} method to notify all waiting threads. Before {{await()}} returns, the current thread reacquires the lock associated with this condition. When the thread returns, it is guaranteed to hold this lock \[[API 2006|AA. Bibliography#APIReferences#API 06]\]. The thread that is ready can perform its task while all the threads whose condition predicates are false resume waiting. |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e39025ff390e5845-e5b33f5c-4c54475c-9cd9bad8-f1136f2ef3fc851cda470cef"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API References#API 06]] | | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="56b37a8559e54402-4fa60548-42ed471f-9a6fa58d-4a23c779442b8c542827f531"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS References#JLS 05]] | [Chapter 17, Threads and Locks | http://java.sun.com/docs/books/jls/third_edition/html/memory.html] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="61962500fb8a2a7d-a4ba9588-467c4e3c-bd1e9f83-9c5f36fe3c5ea3950b5bcb20"><ac:plain-text-body><![CDATA[ | [[Goetz 2006 | AA. Bibliography#Goetz References#Goetz 06]] | Section 14.2.4, Notification | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="27478a7b31c1f096-43d7da61-4ab145cd-8377a024-fffade6ba5c6d5473e2a2c34"><ac:plain-text-body><![CDATA[ | [[Bloch 2001 | AA. Bibliography#Bloch References#Bloch 01]] | Item 50. Never invoke wait outside a loop | ]]></ac:plain-text-body></ac:structured-macro> |
...