next up previous contents index
Next: The Ada Rendezvous Up: A Detailed Description of Previous: Summary   Contents   Index


The Rendezvous

The Rendezvous is the basic mechanism for synchronization and communication of Ada tasks. The model of Ada is based on a client/server model of interaction. One task, the server, declares a set of services that it is prepared to offer to other tasks (the clients). It does this by declaring one or more public entries in its task specification. A rendezvous is requested by one task making an entry call on an entry of another task. For the rendezvous to take place the called task must accept this entry call. During the rendezvous the calling task waits while the accepting task executes. When the accepting task ends the rendezvous both tasks are freed to continue their execution [BR85, Section 6].

This chapter is organized in two parts. In this first part the Ada rendezvous model and syntax are presented. The second part describes the GNAT implementation.



Subsections
next up previous contents index
Next: The Ada Rendezvous Up: A Detailed Description of Previous: Summary   Contents   Index
(c) Javier Miranda. Canary Islands (Spain), 2002. Version 1.0