NLboolean nlThreadJoin(NLthreadID threadid, void **status)
threadid
[in]The NLthreadID of the thread to join.
status
[in/out]Pointer to the variable that will recieve the return code of the thread, cast to a void *. Can be NULL if you do not want the return value.
nlThreadJoin blocks until the thread specified by threadid exits.
The thread must have been created with the joinable option set to NL_TRUE.
NL_TRUE if no error occurs, otherwise NL_FALSE, and the specific error code can be retrieved by calling
nlGetError
NL_SYSTEM_ERROR : A system error has ocurred. The system error can be retrieved by calling nlGetSystemError.
Back to the HawkNL index page
Go directly to the main HawkNL page at Hawk Software
© 2000-2002 Phil Frisbie.