Subj : Re: Improving read-write lock To : comp.programming.threads From : David Holmes Date : Thu Feb 24 2005 04:18 pm "Joe Seigh" wrote in message news:opsmd8w7vwqm36vk@grunion... > IIRC, Java exceptions don't unlock monitor locks. Of course Java doesn't use > dtors for scoping since it has GC. > Java monitor locks are automatically unlocked when an exception propagates out of a synchronized block or method. I think the C++ folk popularised this peculiar notion with RAII for locking. :( David Holmes .