MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / createMutex

Function createMutex

extlibs/soloud/src/core/soloud_thread.cpp:45–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 };
44
45 void * createMutex()
46 {
47 CRITICAL_SECTION * cs = new CRITICAL_SECTION;
48 InitializeCriticalSectionAndSpinCount(cs, 100);
49 return (void*)cs;
50 }
51
52 void destroyMutex(void *aHandle)
53 {

Callers 2

initMethod · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected