15 #include <haka/thread.h>
bool timer_once(struct timer *timer, struct time *delay)
Definition: timer.c:345
void time_realm_update_and_check(struct time_realm *realm, const struct time *value)
Definition: timer.c:144
bool time_realm_check(struct time_realm *realm)
Definition: timer.c:434
bool timer_stop(struct timer *timer)
Definition: timer.c:355
bool timer_init_thread()
Definition: timer.c:203
void(* timer_callback)(int count, void *data)
Definition: timer.h:38
void timer_destroy(struct timer *timer)
Definition: timer.c:320
time_realm_mode
Definition: timer.h:21
bool timer_repeat(struct timer *timer, struct time *delay)
Definition: timer.c:350
bool time_realm_destroy(struct time_realm *realm)
Definition: timer.c:133
bool time_realm_initialize(struct time_realm *realm, enum time_realm_mode mode)
Definition: timer.c:114
pthread_key_t local_storage_t
Definition: thread.h:226
const struct time * time_realm_current_time(struct time_realm *realm)
Definition: timer.c:181
struct timer * time_realm_timer(struct time_realm *realm, timer_callback callback, void *user)
Definition: timer.c:216