MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / lockNetAsyncMutex

Function lockNetAsyncMutex

engine/source/platform/platformNetAsync.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43void* gNetAsyncMutex = NULL;
44
45static void lockNetAsyncMutex()
46{
47 if(!gNetAsyncMutex)
48 gNetAsyncMutex = Mutex::createMutex();
49
50 AssertFatal(gNetAsyncMutex, "Could not create gNetAsyncMutex!");
51
52 Mutex::lockMutex(gNetAsyncMutex);
53}
54
55static void unlockNetAsyncMutex()
56{

Callers 3

queueLookupMethod · 0.85
runMethod · 0.85
checkLookupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected