Timers let you perform fixed-interval operations, such as animation refreshes.
A condition variable adds to wait the ability to not wait when the condition you're waiting for has...
Presents two approaches to creating thread-safe singletons.
Looks at how and why you might want to roll your own exclusion semaphores, and presents a lock mana...
Discusses the perils that can arise when you approach multithreading in a naive way.
Discusses the things you need to know to program threads in the real world. This article assumes yo...
In this article, Brian Goetz looks at some of the commonly proposed fixes and shows how each of the...
Explains how to apply consistent rules for acquiring multiple locks simultaneously, to reduce the l...
Explains how to fix the double-checked locking idiom by using thread-local variables and takes a lo...
Gives an introduction to threads and explores the Thread class and runnables.
Explains synchronization, Java's synchronization mechanism, and two problems that arise when develo...
Explains how priority relates to thread scheduling and how to use the wait/notify mechanism to coor...