MCPcopy Create free account
hub / github.com/TASEmulators/fceux / fceuWrapperTryLock

Function fceuWrapperTryLock

src/drivers/Qt/fceuWrapper.cpp:1390–1405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1388}
1389
1390bool fceuWrapperTryLock(const char *filename, int line, const char *func, int timeout)
1391{
1392 bool lockAcq = false;
1393
1394 lockAcq = fceuWrapperTryLock( timeout );
1395
1396 if ( lockAcq && debugMutexLock)
1397 {
1398 char txt[32];
1399 sprintf( txt, ":%i - ", line );
1400 lockFile.assign(filename);
1401 lockFile.append(txt);
1402 lockFile.append(func);
1403 }
1404 return lockAcq;
1405}
1406
1407bool fceuWrapperTryLock(int timeout)
1408{

Callers 15

updatePeriodicMethod · 0.85
fceuWrapperUpdateFunction · 0.85
hueChangedMethod · 0.85
tintChangedMethod · 0.85
use_Custom_ChangedMethod · 0.85
deemphswap_ChangedMethod · 0.85
use_NTSC_ChangedMethod · 0.85
clearPaletteMethod · 0.85
openPaletteFileMethod · 0.85
palResetClickedMethod · 0.85
palNotchChangedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected