MCPcopy Create free account
hub / github.com/doldecomp/mkdd / sendCmdMsg

Method sendCmdMsg

libs/JSystem/JAudio/System/JASTaskThread.cpp:54–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54int JASTaskThread::sendCmdMsg(JASTaskCb cb, const void *src, u32 size)
55{
56 void *stack = allocCallStack(cb, src, size);
57 if (stack == NULL)
58 {
59 return 0;
60 }
61
62 BOOL msg = sendMessage(stack);
63 if (msg == FALSE)
64 {
65 JASKernel::getCommandHeap()->free(stack);
66 }
67 return msg;
68}
69
70int JASTaskThread::sendCmdMsg(JASTaskCb cb, void *p)
71{

Callers 7

loadResourceAsyncMethod · 0.80
sendLoadCmdMethod · 0.80
prepareMethod · 0.80
cancelMethod · 0.80
firstLoadTaskMethod · 0.80
headerLoadMethod · 0.80
updateChannelMethod · 0.80

Calls 2

getCommandHeapFunction · 0.85
freeMethod · 0.45

Tested by

no test coverage detected