|
libnx v4.9.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. | |
| void | utimerStart (UTimer *t) |
| Starts the timer. | |
| void | utimerStop (UTimer *t) |
| Stops the timer. | |
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). |