OSSetThreadCancelState

Syntax

#include <cafe/os.h>

BOOL OSSetThreadCancelState (BOOL cancelState);

Parameters

cancelState Cancellation state.

Return Values

Previous cancellation state

Description

Set the thread cancellation state. If TRUE, allow canceling/suspending the thread at a cancellation point. If FALSE, do not allow it. For information on cancellation points, see OSCancelThread and OSSuspendThread.

Do Not Call From

None.

See Also

OSCancelThread
OSSuspendThread
OSTestThreadCancel

Revision History

2013-05-08 Automated cleanup pass.
2012-08-01 Cleanup pass.
2012-05-25 Matched the actual header.
2011-11-25 Initial version.


CONFIDENTIAL