3.6.1. Model implementation of buffered mode


Up: Buffer allocation and usage Next: Nonblocking communication Previous: Buffer allocation and usage

The model implementation uses the packing and unpacking functions described in Section Pack and unpack and the nonblocking communication functions described in Section Nonblocking communication .

We assume that a circular queue of pending message entries (PME) is maintained. Each entry contains a communication request handle that identifies a pending nonblocking send, a pointer to the next entry and the packed message data. The entries are stored in successive locations in the buffer. Free space is available between the queue tail and the queue head.

A buffered send call results in the execution of the following code.




Up: Buffer allocation and usage Next: Nonblocking communication Previous: Buffer allocation and usage


Return to MPI 1.1 Standard Index
Return to MPI-2 Standard Index
Return to MPI Forum Home Page

MPI-1.1 of June 12, 1995
HTML Generated on August 6, 1997