Rendezvous (Plan 9)
From HandWiki
Rendezvous is a data synchronization mechanism in Plan 9 from Bell Labs. It is a system call that allows two processes to exchange a single datum while synchronizing.[1]
The 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.
See also
- Synchronous rendezvous
- Communicating sequential processes
References
- ↑ Pike, Rob; Presotto, Dave; Dorward, Sean; Flandrena, Bob; Thompson, Ken; Trickey, Howard; Winterbottom, Phil (1995). "Plan 9 from Bell Labs". Computing systems (University of California Press) 8 (3): 221–254.
External links
- Process Sleep and Wakeup on a Shared-memory Multiprocessor by Rob Pike, Dave Presotto, Ken Thompson and Gerard Holzmann.
Original source: https://en.wikipedia.org/wiki/Rendezvous (Plan 9).
Read more |