MPResetTaskQ

Syntax

#include <cafe/mp.h>

BOOL MPResetTaskQ(MPTaskQ* taskq);

Parameters

taskq MPTaskQ to be reset.

Return Values

TRUE: Successfully reset the status of the MPTaskQ and tasks in the queue.
FALSE: The operation failed because the MPTaskQ was neither done nor stopped.

Description

Reset status of the task queue and tasks in the queue so that an application can use them again without calling MPInitTask, MPInitTaskQ, and MPEnqueTask.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

MPDequeTask
MPDequeTasks
MPEnqueTask
MPGetTaskQInfo
MPInitTaskQ
MPRunTasksFromTaskQ
MPStartTaskQ
MPStopTaskQ
MPTermTaskQ
MPWaitTaskQ
MPWaitTaskQWithTimeout

Revision History

2013-05-08 Automated cleanup pass.
2012-05-14 Fixed See Also.
2011-01-19 Initial version.


CONFIDENTIAL