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

Function threadFree

libctru/source/thread.c:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89void threadFree(Thread thread)
90{
91 if (!thread || !thread->finished) return;
92 svcCloseHandle(thread->handle);
93 free(thread);
94}
95
96Result threadJoin(Thread thread, u64 timeout_ns)
97{

Callers 3

threadDetachFunction · 0.85
threadExitFunction · 0.85
__SYSCALL(thread_join)Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected