libosmocore 0.3.6
Osmocom core library
src/timer.c File Reference

Functions

static LLIST_HEAD (timer_list)
void osmo_timer_add (struct osmo_timer_list *timer)
 add a new timer to the timer management
void osmo_timer_schedule (struct osmo_timer_list *timer, int seconds, int microseconds)
 schedule a timer at a given future relative time
void osmo_timer_del (struct osmo_timer_list *timer)
 delete a timer from timer management
int osmo_timer_pending (struct osmo_timer_list *timer)
 check if given timer is still pending
struct timeval * osmo_timers_nearest (void)
void osmo_timers_prepare (void)
int osmo_timers_update (void)
int osmo_timers_check (void)

Variables

static struct timeval s_nearest_time
static struct timeval s_select_time

Detailed Description