#include <revolution/os.h> BOOL OSIsThreadTerminated(OSThread* thread);
| thread | Pointer to the thread to check. |
|---|
TRUE if the thread is terminated; otherwise FALSE.
Checks whether the specified thread is stopped.
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 Functions, Thread Synchronization Functions, OSCancelThread, OSDetachThread, OSExitThread, OSJoinThread
2006/03/01 Initial version.
CONFIDENTIAL