MCPcopy Create free account
hub / github.com/assaultcube/AC / sl_createthread

Function sl_createthread

source/src/tools.cpp:826–834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824}
825
826void *sl_createthread(int (*fn)(void *), void *data, const char *name)
827{
828 sl_threadinfo *ti = new sl_threadinfo;
829 ti->data = data;
830 ti->fn = fn;
831 ti->done = 0;
832 ti->handle = SDL_CreateThread(sl_thread_indir, name, ti);
833 return (void *) ti;
834}
835
836int sl_waitthread(void *ti)
837{

Callers 5

initloggingFunction · 0.85
authsetupFunction · 0.85
polldeferredprocessingFunction · 0.85
initserverFunction · 0.85
connectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected