NAME
grpc_probe_or
- Checks the session execution status.
SYNOPSIS
grpc_error_t grpc_probe_or(
grpc_sessionid_t *sessions,
size_t length,
grpc_sessionid_t *id)
ARGUMENTS
grpc_sessionid_t *sessions
- A pointer to the session IDs
size_t length
- The number of session IDs stored in sessions
grpc_sessionid_t *id
- Pointer to an area for returning the session ID of the session that has completed execution
DESCRIPTION
The grpc_probe_or() function returns the execution status of the sessions specified by session IDs.
If no sessions have been completed, the function returns an error.
This function is MT-safe.
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_OTHER_ERROR_CODE
- Internal error is detected.
GRPC_NONE_COMPLETED
- No sessions have been completed.
last update : $Date: 2005/08/03 09:23:42 $