OSIsThreadTerminated

Syntax

#include <cafe/os.h>

BOOL OSIsThreadTerminated (OSThread* thread);

Parameters

thread Pointer to the thread to check.

Return Values

Returns TRUE if the thread either. Otherwise, FALSE.

Description

Determines whether the specified thread is terminated.

WARNING:
For detached threads, a thread could have been terminated, and the thread control block might have been reused for a new thread. In this case, a message or global variable is safer to use as notification to determine whether a thread was terminated.

Do Not Call From

None.

See Also

OSDetachThread
OSExitThread
OSJoinThread

Revision History

2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup pass.
2010/08/30 Initial version.


CONFIDENTIAL