Jump to content

Rendezvous (Plan 9): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Jag123 (talk | contribs)
m ch to {{tech-stub}} - Wikipedia:WikiProject Stub sorting
Colin Hill (talk | contribs)
mNo edit summary
Line 1: Line 1:
'''Rendezvous''' is a [[synchronization]] mechanism in the [[Plan 9]] [[operating system]]. It is a [[system call]] that allows two [[process]]es to exchange a single data item while synchronizing.
'''Rendezvous''' is a [[synchronization]] mechanism in the [[Plan 9 (operating system)|Plan 9]] [[operating system]]. It is a [[system call]] that allows two [[process]]es 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.
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.

Revision as of 19:42, 21 March 2005

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 syncronization mechanisms can be created from this primitive operation. See also mutual exclusion.