MCPcopy Create free account
hub / github.com/ddnet/ddnet / thread_init_and_detach

Function thread_init_and_detach

src/base/thread.cpp:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void thread_init_and_detach(void (*threadfunc)(void *), void *u, const char *name)
136{
137 void *thread = thread_init(threadfunc, u, name);
138 thread_detach(thread);
139}

Callers

nothing calls this directly

Calls 2

thread_initFunction · 0.85
thread_detachFunction · 0.85

Tested by

no test coverage detected