| 28 | } |
| 29 | |
| 30 | void workerInit(void) |
| 31 | { |
| 32 | Result res; |
| 33 | |
| 34 | res = svcCreateEvent(&s_workerEvent, 0); |
| 35 | if (R_FAILED(res)) svcBreak(USERBREAK_PANIC); |
| 36 | |
| 37 | s_workerThread = threadCreate(workerThreadProc, NULL, WORKER_STACK_SIZE, 0x30, -2, true); |
| 38 | } |
| 39 | |
| 40 | void workerExit(void) |
| 41 | { |