#include <cafe/mp.h> void MPInitTask(MPTask *task, void *func, void *data, u32 data_len);
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. |
None.
Initializes an MPTask
.
Multiple threads | This function is not thread-safe. |
---|
MPGetTaskInfo
MPGetTaskUserData
MPRunTask
MPSetTaskUserData
MPTermTask
2013-05-08 Automated cleanup pass.
2012-05-14 Fixed See Also.
2010-08-23 Initial version.
CONFIDENTIAL