#include <nitro/os.h>
BOOL OS_IsThreadTerminated( OSThread* thread );
Obtains whether or not the thread has terminated.
It checks the status parameter ot OSThread structure specified by the
thread, checkes whether or not it has terminated using O_ExitThread() and
returns that result. If the return value has terminated it will be TRUE,
if not, then FALSE.
When TRUE is returned, that OSThread structure will have already been separated from the thread system, so it may be used to create a different thread.
thread |
Points to the thread that checks for termination. |
OS_InitThread, OS_ExitThread
06/25/2004 First Edition