GRPC_WAIT_ANY
- Waits for any session to end.
INTEGER FUNCTION GRPC_WAIT_ANY(DONE_SID)
INTEGER DONE_SID
The GRPC_WAIT_ANY() function waits for any one of the currently executing sessions to end. When no executing sessions exist, the GRPC_WAIT_ANY() function returns GRPC_NOERROR and sets GRPC_SESSIONID_VOID to DONE_SID.
This function is MT-unsafe.
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
GRPC_NOT_INITIALIZED
GRPC_SESSION_FAILED
GRPC_TIMEOUT_NP
GRPC_OTHER_ERROR_CODE