Rendezvous (Plan 9)
|
Rendezvous is a synchronization mechanism in the Plan 9 operating system. It is a system call that allows two processes to exchange a single data item while synchronizing.
Rendezvous call takes a tag and a value as its arguments. The tag is typically an address in memory shared by both processes. Calling rendezvous causes a process to sleep until a second rendezvous call with a matching tag occurs. Then, the values are exchanged and both processes are awakened.
More complex synchronization mechanisms can be created from this primitive operation. See also mutual exclusion.
External links
- Rendezvous paper (http://www.cs.bell-labs.com/sys/doc/sleep.html) - Process Sleep and Wakeup on a Shared-memory Multiprocessor