VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_timer |
Functions | |
static void * | vlc_timer_thread (void *data) |
int | vlc_timer_create (vlc_timer_t *id, void(*func)(void *), void *data) |
Initializes an asynchronous timer. | |
void | vlc_timer_destroy (vlc_timer_t timer) |
Destroys an initialized timer. | |
void | vlc_timer_schedule (vlc_timer_t timer, bool absolute, vlc_tick_t value, vlc_tick_t interval) |
Arms or disarms an initialized timer. | |
unsigned | vlc_timer_getoverrun (vlc_timer_t timer) |
Fetches and resets the overrun counter for a timer. | |
|
static |
References vlc_timer::data, vlc_timer::func, vlc_timer::interval, likely, vlc_timer::live, vlc_timer::lock, vlc_timer::overruns, vlc_timer::reschedule, vlc_timer::value, vlc_cond_timedwait(), vlc_cond_wait(), vlc_mutex_lock(), vlc_mutex_unlock(), vlc_thread_set_name(), and vlc_tick_now().
Referenced by vlc_timer_create().