next up previous contents
Next: Rendezvous protocol Up: Sketch of a ``Device-Level'' Previous: Implementation notes

Eager send protocol

Messages are sent immediately by isend, assuming unlimited space for data in the input buffer. In practise this protocol is most suitable for short messages.

  figure171
Figure 3: Pseudocode for isend method (eager protocol) 

  figure175
Figure 4: Pseudocode for irecv method (eager protocol) 

  figure179
Figure 5: Pseudocode for waitany method (eager protocol) 

  figure183
Figure 6: Pseudocode for input handler threads (eager protocol) 



Bryan Carpenter
Tue Nov 23 10:50:26 EST 1999