|
Top > Computers > Programming > Threads > Java
See also:

|
» 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.
|

|
» Seminar: Concurrent Programming in Java - A course covering all aspects of multi-thread programming in Java from plain synchronization over Java 5.0 concurrency utilities to memory model issues.
|

|
» Simple Java Thread Management Library (SJT.Mgmt) - An easy to use library for adding thread management in Java applications. The library comes from early experience with JServ's lack of thread management, and recent posts to the java developer forums. [Open source]
|

|
» Thread Synchronization in Java - Producer Consumer, Dining Philosophers, Reader Writer problems. Applet demonstration, design diagram. Source code accessible by e-mail request.
|

|
» Thread Synchronization in Java (Sources) - Introduces basic concurrency problems and shows how to solve them by using builtin Java synchronization primitives. (Only sources free accessed without registration)
|

|
» Multithreading in Java - The article discusses how to pull off multithreading in Java. It is excerpted from chapter 10 of the book Java Demystified, written by Jim Keogh. (August 4, 2005)
|

|
» Going Atomic - Explains how the new atomic variable classes in JDK 5.0 enable the development of highly scalable nonblocking algorithms in the Java language. (November 23, 2004)
|

|
» Hey, where'd my thread go? - If you're not careful, threads can disappear from server applications without a (stack) trace. In this article, threading expert Brian Goetz offers some techniques for both prevention and detection of threads going AWOL. (September, 2002)
|

|
» Achieve Strong Performance With Threads, Part 4 - Focuses on thread groups, volatility, thread-local variables, timers, and the ThreadDeath class. Also describes how various thread concepts combine to finalize objects. (August, 2002)
|

|
» Thread Pools and Work Queues - Explores the motivations for thread pools, some basic implementation and tuning techniques, and some common hazards to avoid. (July, 2002)
|

|
» Safe construction techniques - Concurrent programming in Java applications is more complicated than it looks: there are several subtle (and not so subtle) ways to create data races and other concurrency hazards in Java programs. In this article, Brian Goetz looks at a common threading hazard: allowing the this reference to escape during construction. (June, 2002)
|

|
» Ease Your Multithreaded Application Programming - Takes a look at one of the most-used constructs in multithreaded programming: the producer-consumer scenario. Also shows a Consumer class which facilitates code reuse and simplifies debugging and maintenance in some multithreaded applications. (February, 2002)
|

|
» Avoid Synchronization Deadlocks - Explains how to apply consistent rules for acquiring multiple locks simultaneously, to reduce the likelihood of synchronization deadlocks. (October, 2001)
|

|
» Threading Lightly: Reducing Contention - Explains why contended synchronization is a problem and then explores several techniques for reducing contention, and hence improving scalability. (September 5, 2001)
|

|
» Can Double-Checked Locking be Fixed? - In this article, Brian Goetz looks at some of the commonly proposed fixes and shows how each of them fails to render the DCL idiom thread-safe under the Java Memory Model. (May, 2001)
|

|
» Writing Multithreaded Java Applications - Introduces the Java Thread API, outlines issues involved in multithreading, and offers solutions to common problems. By Alex Roetter. (February 1, 2001)
|

|
» Warning! Threading in a Multiprocessor World - Many authors advocate the double-checked locking idiom to access a Singleton object in an intuitively thread-safe way. Unfortunately, for counterintuitive reasons, double-checked locking doesn't work in Java. (February, 2001)
|

|
» Programming Java Threads in the Real World, Part 8 - Discusses architectural solutions to threading problems. Takes a look at threads from the perspective of an object-oriented designer, and at how to implement threads in an object-oriented environment, focusing on the implementation of asynchronous methods. (May, 1999)
|

|
» Programming Java Threads in the Real world, Part 4 - A condition variable adds to wait the ability to not wait when the condition you're waiting for has already taken place; and a counting semaphore lets you control a pool of resources without sucking up machine cycles in polling loops. (December, 1998)
|

|
» Programming Java Threads in the Real World, Part 1 - Discusses the things you need to know to program threads in the real world. This article assumes you understand the language-level support for threads and focuses on the legion of problems that arise when you try to use these language features. (September, 1998)
|
The content of this directory is based on the Open Directory and may have been modified by clixShare
|