[concurrency-interest] a question regarding nested synchronized()
yechielf at gigaspaces.com
Mon Feb 20 08:15:50 EST 2006
Say a Thread does:===========
1. is the command objectB.wait();, which is called by the thread ,
releasing the lock on object A too, or does objectA remains locked
since it is not the monitor used for the wait() ? (My guess is that
objectA remains locked)
2. If the answer to 1. is yes, in which order are the locks released ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest