#include <revolution/mp.h>
typedef void (*MPCallback)( s32 result, MPCallbackInfo *info );
result |
Returns the processing result value. |
info |
Parameter passed to each type of callback. |
None.
MPCallback is the MP library's asynchronous function callback function type.
Callback functions are called from the MP library's callback thread.
This is not an interrupt callback, so thread synchronizing functions can be called. However, if a block takes too long, it will impact MP communications. Blocking should be kept to the minimum needed for exceptions.
In some cases you should consider the means to receive and pass data without blocking, using OSMessageQueue, etc.
MPSendAsync(), MPUpdateBeaconAsync(), MPCallbackType, MPCallbackInfo
2007/11/28 Initial version.
CONFIDENTIAL