a0IFSend()

Starts a non-blocking send with a format.


Syntax

a0tError a0IFSend(
a0tPort *port,
int dest,
int tag,
a0tRequest *request,
a0tFormat *format,
void *address,
int count );

Arguments

Namerd/wrDescription
port read Port to send to (on destination node).
dest read Destination node to send to.
tag read Tag to use.
request write Request descriptor to hold the status.
format read Format of the data to send.
address write Address of the data to send.
count read Number of elements to send.

Description

This function starts a non-blocking send to a given port port on a given node dest, with a given tag tag. A request is posted to send 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 test or wait the completion or check the status of the operation.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0FSend() a0IFReceive() a0FReceive() a0UseFormats() a0NewMapFormat() a0NewFunctionFormat() a0ISend() a0IReceive() a0ISendBuffer() a0WaitRequest() a0TestRequest()