MPInitTask

Syntax

#include <cafe/mp.h>

void MPInitTask(MPTask *task, void *func, void *data, u32 data_len);

Parameters

task MPTask to initialize.
func MPTask function that will be called when the MPTask is run.
data Address of data buffer which will be passed to the MPTask function when the MPTask is run.
data_len Length of the data buffer that will be passed to the MPTask function when the MPTask is run.

Return Values

None.

Description

Initializes an MPTask.

Do Not Call From

Multiple threads This function is not thread-safe.

See Also

MPGetTaskInfo
MPGetTaskUserData
MPRunTask
MPSetTaskUserData
MPTermTask

Revision History

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


CONFIDENTIAL