MPEnqueTask

Syntax

#include <cafe/mp.h>

BOOL MPEnqueTask(MPTaskQ* taskq, MPTask* task);

Parameters

taskq The MPTaskQ that should be used.
task The MPTask to add to the MPTaskQ.

Return Values

TRUE: The MPTask was added to the specified MPTaskQ.
FALSE: Adding the MPTask to the specified MPTaskQ failed.

Description

MPEnqueTask adds the specified MPTask to the tail of the specified MPTaskQ.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

MPDequeTask
MPDequeTasks
MPGetTaskQInfo
MPInitTaskQ
MPResetTaskQ
MPRunTasksFromTaskQ
MPStartTaskQ
MPStopTaskQ
MPTermTaskQ
MPWaitTaskQ
MPWaitTaskQWithTimeout

Revision History

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


CONFIDENTIAL