#include <nitro/os.h>
BOOL OS_IsThreadTerminated( const OSThread* thread );
thread | Pointer to the thread to be checked for termination. |
Returns TRUE if the specified thread has already terminated, otherwise FALSE.
Indicates whether or not the thread has terminated. Checks the status parameter of the OSThread
structure thread and returns whether it was ended by OS_ExitThread()
. If the thread has terminated it will be TRUE; if not, then FALSE. If TRUE is returned, the OSThread
structure has already been discarded from the thread system, so it may be used to create another thread.
2005/09/06 Added const
to the argument of the OSThread*
model.
2004/06/25 Initial version.
CONFIDENTIAL