Implementing Read-Write Locks in Java
Read-write locks allow multiple threads to acquire a read lock provided no other thread currently has a write lock on the same object. A thread can acquire a write lock if no other thread owns either a read lock or a write lock.
The "Double-Checked Locking is Broken" Declaration
Details on the reasons - some very subtle - why double-checked locking cannot be relied upon to be safe. Signed by a number of experts, including Sun engineers.
Cancellation
Discussion of thread cancellation techniques in Java. (excerpt from Doug Lea's Concurrent Programming in Java book)
[ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ]
|