[armedbear-devel] [Updated4] Patch for ABCL against BORDEAUX-THREADS HEAD

Ville Voutilainen ville.voutilainen at gmail.com
Fri Mar 18 16:01:31 UTC 2011


On 18 March 2011 17:54, Mark Evenson <evenson at 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/package-summary.html
which has the posix semantics.




More information about the armedbear-devel mailing list