MCPcopy Create free account
hub / github.com/crossuo/crossuo / createThread

Function createThread

external/ass.h:35267–35280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35265 }
35266
35267 ThreadHandle createThread(threadFunction aThreadFunction, void *aParameter)
35268 {
35269 soloud_thread_data *d = new soloud_thread_data;
35270 d->mFunc = aThreadFunction;
35271 d->mParam = aParameter;
35272 HANDLE h = CreateThread(NULL,0,threadfunc,d,0,NULL);
35273 if (0 == h)
35274 {
35275 return 0;
35276 }
35277 ThreadHandleData *threadHandle = new ThreadHandleData;
35278 threadHandle->thread = h;
35279 return threadHandle;
35280 }
35281
35282 void sleep(int aMSec)
35283 {

Callers 7

alsa_initFunction · 0.85
openal_initFunction · 0.85
oss_initFunction · 0.85
wasapi_initFunction · 0.85
winmm_initFunction · 0.85
xaudio2_initFunction · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected