MPRunTask

Syntax

#include <cafe/mp.h>

BOOL MPRunTask(MPTask *task);

Parameters

task MPTask to run on the current processor core.

Return Values

TRUE: the specified MPTask returned TRUE.
FALSE: the specified MPTask returned FALSE.

Description

Runs the MPTask on the current processor core. This function is usually called immediately after dequeueing a ready MPTask from an MPTaskQ.

Do Not Call From

Multiple threads This function is not thread-safe.
Callbacks Do not call this function from any callback function.

See Also

MPGetTaskInfo
MPGetTaskUserData
MPInitTask
MPSetTaskUserData
MPTermTask

Revision History

2013-05-08 Automated cleanup pass.
2012-05-14 Fixed See Also.
2010-08-23 Initial version.


CONFIDENTIAL