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

Function threadDetach

libctru/source/thread.c:102–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void threadDetach(Thread thread)
103{
104 if (!thread || thread->detached)
105 return;
106 if (thread->finished)
107 {
108 threadFree(thread);
109 return;
110 }
111 thread->detached = true;
112 return;
113}
114
115Thread threadGetCurrent(void)
116{

Callers 1

__SYSCALL(thread_detach)Function · 0.85

Calls 1

threadFreeFunction · 0.85

Tested by

no test coverage detected