[concurrency-interest] thoughts on ordered, concurrent locking

Joe Bowbeer joe.bowbeer at gmail.com
Sat Mar 7 13:31:20 EST 2009


See Chapter 10 "Avoiding Liveness Hazards" in JCiP.

Listing 10.3 uses System.identityHashCode for ordering:

  http://jcip.net/listings/InduceLockOrder.java

Some options not mentioned are: single-threaded-subsystem and
message-passing/queueing.

Joe

On Sat, Mar 7, 2009 at 9:55 AM, Taylor Gautier wrote:

> Suppose I have a Person object, which has a list of friends, like so:
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20090307/77b51528/attachment-0001.html>


More information about the Concurrency-interest mailing list