MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / acquire_access_lock

Function acquire_access_lock

kernel/cellos/src/lv2.cpp:1446–1453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1444}
1445
1446stx::access_lock acquire_access_lock(stx::init_mutex &mtx, ppu_thread *ppu) {
1447 if (!ppu) {
1448 ppu = ensure(cpu_thread::get_current<ppu_thread>());
1449 }
1450
1451 // TODO: Check if needs to wait
1452 return mtx.access();
1453}
1454
1455stx::reset_lock acquire_reset_lock(stx::init_mutex &mtx, ppu_thread *ppu) {
1456 if (!ppu) {

Callers 6

cellGameCreateGameDataFunction · 0.85
cellGameDeleteGameDataFunction · 0.85
cellGameGetParamIntFunction · 0.85
cellGameGetParamStringFunction · 0.85
cellGameSetParamStringFunction · 0.85
cellGameGetSizeKBFunction · 0.85

Calls 2

accessMethod · 0.80
ensureFunction · 0.50

Tested by

no test coverage detected