libnx
v4.7.0
|
Kernel-mode event synchronization primitive. More...
Go to the source code of this file.
Data Structures | |
struct | Event |
Kernel-mode event structure. More... | |
Functions | |
static Waiter | waiterForEvent (Event *t) |
Creates a Waiter for a kernel-mode event. | |
Result | eventCreate (Event *t, bool autoclear) |
Creates a kernel-mode event. More... | |
void | eventLoadRemote (Event *t, Handle handle, bool autoclear) |
Loads a kernel-mode event obtained from IPC. More... | |
void | eventClose (Event *t) |
Closes a kernel-mode event. More... | |
static bool | eventActive (Event *t) |
Returns whether an Event is initialized. More... | |
Result | eventWait (Event *t, u64 timeout) |
Waits on a kernel-mode event. More... | |
Result | eventFire (Event *t) |
Signals a kernel-mode event. More... | |
Result | eventClear (Event *t) |
Clears a kernel-mode event. More... | |
Kernel-mode event synchronization primitive.
|
inlinestatic |
Clears a kernel-mode event.
[in] | t | Pointer to Event structure. |
void eventClose | ( | Event * | t | ) |
Closes a kernel-mode event.
[in] | t | Pointer to Event structure. |
Creates a kernel-mode event.
[out] | t | Pointer to Event structure. |
[in] | autoclear | Autoclear flag. |
Signals a kernel-mode event.
[in] | t | Pointer to Event structure. |
Loads a kernel-mode event obtained from IPC.
[out] | t | Pointer to Event structure. |
[in] | handle | Read-only event handle. |
[in] | autoclear | Autoclear flag. |