Sponsored Links:
Double-Checked Locking: Clever, but Broken (Popularity: )
http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-double_p.html
Though many Java books and articles recommend double-checked locking, unfortunately, it is not guaranteed to work in Java.
|
Warning! Threading in a Multiprocessor World (Popularity: )
http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-toolbox_p.html
Many authors advocate the double-checked locking idiom to access a Singleton object in an intuitively thread-safe way. Unfortunately, for counterintuitive ...
|
Programming Java Threads in the Real World, Part 9 (Popularity: )
http://www.javaworld.com/javaworld/jw-06-1999/jw-06-toolbox_p.html
Discussion of two more architectural solutions to threading problems: a synchronous dispatcher (or 'reactor') and an asynchronous dispatcher (or 'active ...
|
Programming Java Threads in the Real World, Part 8 (Popularity: )
http://www.javaworld.com/javaworld/jw-05-1999/jw-05-toolbox_p.html
Discusses architectural solutions to threading problems. Takes a look at threads from the perspective of an object-oriented designer, and at ...
|
Programming Java Threads in the Real World, Part 7 (Popularity: )
http://www.javaworld.com/javaworld/jw-04-1999/jw-04-toolbox_p.html
Reader/writer locks let multiple threads safely access a shared resource in an efficient way.
|
Programming Java Threads in the Real World, Part 6 (Popularity: )
http://www.javaworld.com/javaworld/jw-03-1999/jw-03-toolbox_p.html
How to implement the Observer pattern (used by AWT/Swing for its event model) in a multithreaded environment.
|
Programming Java Threads in the Real World, Part 5 (Popularity: )
http://www.javaworld.com/javaworld/jw-02-1999/jw-02-toolbox_p.html
Timers let you perform fixed-interval operations, such as animation refreshes.
|
Programming Java Threads in the Real world, Part 4 (Popularity: )
http://www.javaworld.com/javaworld/jw-12-1998/jw-12-toolbox_p.html
A condition variable adds to wait the ability to not wait when the condition you're waiting for has already taken ...
|
Simple Java Thread Management Library (SJT.Mgmt) (Popularity: )
http://simplethread.sourceforge.net/
An easy to use library for adding thread management in Java applications. The library comes from early experience with JServ's ...
|
Singletons with Needles and Thread (Popularity: )
http://www.javaworld.com/javaqa/2002-01/02-qa-0125-singleton4_p.html
Presents two approaches to creating thread-safe singletons.
|
Writing Multithreaded Java Applications (Popularity: )
http://www-106.ibm.com/developerworks/library/j-thread.html
Introduces the Java Thread API, outlines issues involved in multithreading, and offers solutions to common problems.
|
Programming Java Threads in the Real World, Part 3 (Popularity: )
http://www.javaworld.com/javaworld/jw-11-1998/jw-11-toolbox_p.html
Looks at how and why you might want to roll your own exclusion semaphores, and presents a lock manager that ...
|
Programming Java Threads in the Real World, Part 2 (Popularity: )
http://www.javaworld.com/javaworld/jw-10-1998/jw-10-toolbox_p.html
Discusses the perils that can arise when you approach multithreading in a naive way.
|
Programming Java Threads in the Real World, Part 1 (Popularity: )
http://www.javaworld.com/javaworld/jw-09-1998/jw-09-threads_p.html
Discusses the things you need to know to program threads in the real world. This article assumes you understand the ...
|
Can Double-Checked Locking be Fixed? (Popularity: )
http://www.javaworld.com/javaworld/jw-05-2001/jw-0525-double_p.html
In this article, Brian Goetz looks at some of the commonly proposed fixes and shows how each of them fails ...
|
The "Double-Checked Locking is Broken" Declaration (Popularity: )
http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
Details on the reasons - some very subtle - why double-checked locking cannot be relied upon to be safe. Signed ...
|
Thread Synchronization in Java (Sources) (Popularity: )
http://devcentral.iticentral.com/articles/Java/thread_sync/code.html
Introduces basic concurrency problems and shows how to solve them by using builtin Java synchronization primitives. (Only sources free accessed ...
|
Implementing Read-Write Locks in Java (Popularity: )
http://www.asingh.net/technical/rwlocks.html
Read-write locks allow multiple threads to acquire a read lock provided no other thread currently has a write lock on ...
|
Avoid Synchronization Deadlocks (Popularity: )
http://www.javaworld.com/javaworld/jw-10-2001/jw-1012-deadlock_p.html
Explains how to apply consistent rules for acquiring multiple locks simultaneously, to reduce the likelihood of synchronization deadlocks.
|
Can ThreadLocal Solve the Double-checked Locking Problem? (Popularity: )
http://www.javaworld.com/javaworld/jw-11-2001/jw-1116-dcl_p.html
Explains how to fix the double-checked locking idiom by using thread-local variables and takes a look at its performance.
|