NAME
grpc_wait_and
- Waits for multiple sessions to end.
SYNOPSIS
grpc_error_t grpc_wait_and(grpc_sessionid_t *idArray, size_t length)
ARGUMENTS
grpc_sessionid_t *idArray
- Pointer to the session IDs
size_t length
- The number of session IDs stored in sessions
DESCRIPTION
The grpc_wait_and() function waits for all of the sessions specified by sessions to end.
This function is MT-safe unless multiple wait functions wait the same
sessions simultaneously.
RETURN VALUE
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
ERRORS
GRPC_NOT_INITIALIZED
- GRPC client is not initialized yet.
GRPC_INVALID_SESSION_ID
- Session ID is not valid.
GRPC_SESSION_FAILED
- The specified session failed.
GRPC_TIMEOUT_NP
- Timeout occurred in session.
GRPC_CANCELED_NP
- Session was canceled.
GRPC_OTHER_ERROR_CODE
- Internal error detected.
last update : $Date: 2005/07/11 07:11:24 $