Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
303
int LightEvent_TryWait(LightEvent* event)
304
{
305
if (event->state == SIGNALED_STICKY)
306
return 1;
307
return LightEvent_TryReset(event);
308
}
309
310
void LightEvent_Wait(LightEvent* event)
311
{
Callers
1
aptEventHandler
Function · 0.85
Calls
1
LightEvent_TryReset
Function · 0.85
Tested by
no test coverage detected