libnx
v4.7.0
|
Light event synchronization primitive [4.0.0+]. More...
Go to the source code of this file.
Data Structures | |
struct | LEvent |
User-mode light event structure. More... | |
Functions | |
static void | leventInit (LEvent *le, bool signaled, bool autoclear) |
Initializes a user-mode light event. More... | |
bool | leventWait (LEvent *le, u64 timeout_ns) |
Waits on a user-mode light event. More... | |
bool | leventTryWait (LEvent *le) |
Polls a user-mode light event. More... | |
void | leventSignal (LEvent *le) |
Signals a user-mode light event. More... | |
void | leventClear (LEvent *le) |
Clears a user-mode light event. More... | |
Light event synchronization primitive [4.0.0+].
void leventClear | ( | LEvent * | le | ) |
Clears a user-mode light event.
[in] | le | Pointer to LEvent structure. |
|
inlinestatic |
Initializes a user-mode light event.
[out] | le | Pointer to LEvent structure. |
[in] | signaled | Whether the event starts off in signaled state. |
[in] | autoclear | Autoclear flag. |
void leventSignal | ( | LEvent * | le | ) |
Signals a user-mode light event.
[in] | le | Pointer to LEvent structure. |
bool leventTryWait | ( | LEvent * | le | ) |
Polls a user-mode light event.
[in] | le | Pointer to LEvent structure. |