NAME

GRPC_WAIT - Waits for a session to end.

SYNOPSIS

INTEGER FUNCTION GRPC_WAIT(SID)

ARGUMENTS

INTEGER SID
The session ID

DESCRIPTION

The GRPC_WAIT() function waits for the specified session 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_COMMUNICATION_FAILED
Communication with the server failed somehow.
GRPC_SESSION_FAILED
The specified session failed.
GRPC_TIMEOUT_NP
Timeout occurred in session.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date$