MCPcopy Create free account
hub / github.com/devkitPro/libctru / CondVar_Wait

Function CondVar_Wait

libctru/source/synchronization.c:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void CondVar_Wait(CondVar* cv, LightLock* lock)
194{
195 CondVar_BeginWait(cv, lock);
196 syncArbitrateAddress(cv, ARBITRATION_WAIT_IF_LESS_THAN, 0);
197 LightLock_Lock(lock);
198}
199
200int CondVar_WaitTimeout(CondVar* cv, LightLock* lock, s64 timeout_ns)
201{

Callers

nothing calls this directly

Calls 3

CondVar_BeginWaitFunction · 0.85
syncArbitrateAddressFunction · 0.85
LightLock_LockFunction · 0.85

Tested by

no test coverage detected