On 18 March 2011 17:54, Mark Evenson evenson@panix.com wrote:
The condition variable interface is using the mutex lock specified in BT:CONDITION-WAIT. For the ABCL implementation, I'm using the Java monitor associated with the condition variable for the additional synchronization needed to implement BT:CONDITION-NOTIFY which couldn't use the mutex lock without contention problems. But definitely check my logic here, as it has been faulty before.
If we are implementing posix-style-semantics, we could avoid reinventing that wheel on java, and use http://download.oracle.com/javase/1.5.0/docs/api/java/util/concurrent/locks/... which has the posix semantics.