MCPcopy Create free account
hub / github.com/devkitPro/libctru / __SYSCALL(thread_join)

Function __SYSCALL(thread_join)

libctru/source/system/syscalls.c:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void*__SYSCALL(thread_join)(struct __pthread_t *thread)
214{
215 threadJoin((Thread)thread, U64_MAX);
216 void* rc = (void*)threadGetExitCode((Thread)thread);
217 threadFree((Thread)thread);
218 return rc;
219}
220
221int __SYSCALL(thread_detach)(struct __pthread_t *thread)
222{

Callers

nothing calls this directly

Calls 3

threadJoinFunction · 0.85
threadGetExitCodeFunction · 0.85
threadFreeFunction · 0.85

Tested by

no test coverage detected