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

Function CondVar_WakeUp

libctru/source/synchronization.c:216–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void CondVar_WakeUp(CondVar* cv, s32 num_threads)
217{
218 __dmb();
219 if (CondVar_EndWait(cv, num_threads))
220 syncArbitrateAddress(cv, ARBITRATION_SIGNAL, num_threads);
221 else
222 __dmb();
223}
224
225// LightEvent state
226enum

Callers 2

CondVar_SignalFunction · 0.85
CondVar_BroadcastFunction · 0.85

Calls 3

__dmbFunction · 0.85
CondVar_EndWaitFunction · 0.85
syncArbitrateAddressFunction · 0.85

Tested by

no test coverage detected