Waits for a request to complete.
a0tError | a0WaitRequest( | | | |
| | a0tRequest | *request );
| |
| Name | rd/wr | Description |
| request | write | Request to wait to and hold the status. |
This function blocks the calling thread until the request specified in request is completed. After this call, the request it can't be waited or tested anymore.
It inserts in the request structure its final status (see a0GetRequestData()).
| Error Code | Description |
A0ErrNullReq | The request is NULL. | |
A0Err...| Some error occurred. | |
A0ErrOk| Successful completion. | |
a0ISend() a0IReceive() a0ISendBuffer() a0IReceiveBuffer() a0TestRequest()