MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / workerInit

Function workerInit

source/worker.c:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void 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
40void workerExit(void)
41{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected