OSResumeThread

Syntax

#include <cafe/os.h>

s32 OSResumeThread (OSThread* thread);

Parameters

thread Pointer to thread to resume.

Return Values

The previous suspend counter of the thread.

Description

Decrements the suspend counter and resumes the specified thread if the suspend counter reaches zero. A thread is suspended when created.

NOTE:
Calling OSResumeThread will never result in the suspend counter going below zero.

Do Not Call From

None.

See Also

OSIsThreadSuspended
OSCreateThreadType

Revision History

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


CONFIDENTIAL