RSC/MP Programming Manual

API Function Descriptions
RscUnregisterThread [RSCUTHD]
RscUnregisterThread [RSCUTHD]
The RscUnregisterThread function signals to the RSC/MP API library that a thread no
longer needs RSC/MP services. Call this function when a thread has finished using the
RSC/MP library and prior to exiting the thread. Calling this function allows the RSC/MP
library to clean up any information associated with this thread. When the
RscUnregisterThread function is called, the thread can no longer safely use the
RSC/MP library until RscRegisterThread is called.
This function is supported under Windows, Solaris, HP-UX, AIX and Linux.
USHORT RscUnregisterThread (VOID);
Return Value
The return value is zero if the function is successful; otherwise, the function returns this
result value:
RSC_INVALID_UNREGISTER 86
HP NonStop Remote Server Call (RSC/MP) Programming Manual 522360-006
10 - 39