| 345 | } |
| 346 | |
| 347 | void task_runLocal(Task* task, MessageType msg) |
| 348 | { |
| 349 | if (task->localRunFunc) |
| 350 | { |
| 351 | Task* prevCur = s_curTask; |
| 352 | s_curTask = task; |
| 353 | |
| 354 | task->localRunFunc(msg); |
| 355 | |
| 356 | s_curTask = prevCur; |
| 357 | } |
| 358 | } |
| 359 | |
| 360 | bool task_hasLocalMsgFunc(Task* task) |
| 361 | { |
no outgoing calls
no test coverage detected