| 52 | } |
| 53 | |
| 54 | int 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 | |
| 70 | int JASTaskThread::sendCmdMsg(JASTaskCb cb, void *p) |
| 71 | { |
no test coverage detected