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

Function LightEvent_TryWait

libctru/source/synchronization.c:303–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303int LightEvent_TryWait(LightEvent* event)
304{
305 if (event->state == SIGNALED_STICKY)
306 return 1;
307 return LightEvent_TryReset(event);
308}
309
310void LightEvent_Wait(LightEvent* event)
311{

Callers 1

aptEventHandlerFunction · 0.85

Calls 1

LightEvent_TryResetFunction · 0.85

Tested by

no test coverage detected