MCPcopy Create free account
hub / github.com/diasurgical/devilution / nthread_ignore_mutex

Function nthread_ignore_mutex

Source/nthread.cpp:208–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void nthread_ignore_mutex(BOOL bStart)
209{
210 if (sghThread != NULL) {
211 if (bStart)
212 sgMemCrit.Leave();
213 else
214 sgMemCrit.Enter();
215 sgbThreadIsRunning = bStart;
216 }
217}
218
219BOOL nthread_has_500ms_passed(BOOL unused)
220{

Callers 2

run_game_loopFunction · 0.85
GM_GameFunction · 0.85

Calls 2

LeaveMethod · 0.80
EnterMethod · 0.80

Tested by

no test coverage detected