| A rendezvous channel, similar to those used in CSP and Ada. Each
put must wait for a take, and vice versa. Synchronous channels
are well suited for handoff designs, in which an object running in
one thread must synch up with an object running in another thread
in order to hand it some information, event, or task.
If you only need threads to synch up without
exchanging information, consider using a Barrier. If you need
bidirectional exchanges, consider using a Rendezvous.
[ Introduction to this package. ]
See Also: CyclicBarrier See Also: Rendezvous |