MPSetTaskUserData

Syntax

#include <cafe/mp.h>

void MPSetTaskUserData(MPTask* task, void* udata);

Parameters

task MPTask for which to set the user data.
udata User data pointer to be stored in specified MPTask.

Return Values

None.

Description

Stores a user data pointer value in the given task.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

MPGetTaskInfo
MPGetTaskUserData
MPInitTask
MPRunTask
MPTermTask

Revision History

2013/05/08 Automated cleanup pass.
2012/05/14 Matched the actual prototype; Fixed See Also.
2010/08/23 Initial version.


CONFIDENTIAL