Next: Asyncs, Up: Scheduling
Arbiters are synchronization objects. They are created with
make-arbiter. Two or more threads can synchronize on an arbiter
by trying to lock it using try-arbiter. This call will succeed
if no other thread has called try-arbiter on the arbiter yet,
otherwise it will fail and return #f. Once an arbiter is
successfully locked, it cannot be locked by another thread until the
thread holding the arbiter calls release-arbiter to unlock it.
Return a new arbiter object named name. Its state is initially unlocked. Arbiters are a way to achieve process synchronization.