| 43 | void* gNetAsyncMutex = NULL; |
| 44 | |
| 45 | static 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 | |
| 55 | static void unlockNetAsyncMutex() |
| 56 | { |
no outgoing calls
no test coverage detected