libnx
v4.8.0
|
User-mode timer synchronization primitive. More...
#include "wait.h"
Go to the source code of this file.
Data Structures | |
struct | UTimer |
User-mode timer object. More... | |
Enumerations | |
enum | TimerType { TimerType_OneShot , TimerType_Repeating } |
Valid types for a user-mode timer. More... | |
Functions | |
static Waiter | waiterForUTimer (UTimer *t) |
Creates a waiter for a user-mode timer. | |
void | utimerCreate (UTimer *t, u64 interval, TimerType type) |
Creates a user-mode timer. More... | |
void | utimerStart (UTimer *t) |
Starts the timer. More... | |
void | utimerStop (UTimer *t) |
Stops the timer. More... | |
User-mode timer synchronization primitive.
enum TimerType |
Creates a user-mode timer.
[out] | t | UTimer object. |
[in] | interval | Interval (in nanoseconds). |
[in] | type | Type of timer to create (see TimerType). |