#include <revolution/os.h>
BOOL OSIsThreadTerminated (OSThread* thread);
|
Pointer to the thread to check. |
Returns TRUE if the thread has been terminated; otherwise, FALSE.
Checks whether the specified thread is terminated.
In the case of detached threads, a thread could have terminated, and the thread control block may have been reused for a new thread. In this case, a message or global variable is safer to use as notification to determine if a thread was terminated.
Thread Synchronization, Thread Synchronization Functions, OSCancelThread, OSDetachThread, OSExitThread, OSJoinThread
03/01/2006 Initial version.