Performs a blocking receive with a format.
a0tError a0FReceive( | | | |
| a0tPort | *port, | |
| int | source, | |
| int | tag, | |
| a0tRequest | *request, | |
| a0tFormat | *format, | |
| void | *address, | |
| int | count );
| |
Name | rd/wr | Description |
port | read | Port to listen to (on caller's node). |
source | read | Source node to listen to. |
tag | read | Tag to use. |
request | write | Request descriptor to hold the status. |
format | read | Format of the data to receive. |
address | write | Address where the received data goes. |
count | read | Number of elements to receive. |
This function performs a blocking receive on a given port port, from a given source node source (or A0AnySource if any node will do), with a given tag tag. A request is posted to receive a message described by format, starting at address, with count elements.
On return of this function, the variable pointed by request contains an opaque request that can be used later to check the completion status of the operation.
Error Code | Description |
A0Err...Some error occurred. | |
A0ErrOkSuccessful completion. | |
a0IFReceive() a0FSend() a0IFSend() a0UseFormats() a0NewMapFormat() a0NewFunctionFormat() a0Receive() a0Send() a0ReceiveBuffer()