MCPcopy Create free account
hub / github.com/devkitPro/libctru / _thread_begin

Function _thread_begin

libctru/source/thread.c:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12static void _thread_begin(void* arg)
13{
14 Thread t = (Thread)arg;
15 initThreadVars(t);
16 t->ep(t->arg);
17 threadExit(0);
18}
19
20Thread threadCreate(ThreadFunc entrypoint, void* arg, size_t stack_size, int prio, int core_id, bool detached)
21{

Callers

nothing calls this directly

Calls 2

initThreadVarsFunction · 0.85
threadExitFunction · 0.85

Tested by

no test coverage detected