![]() |
The interface which all timer should implement.
Definition at line 34 of file as_timer.h.
#include "as_timer.h"
Data Fields | |
int(* | destroy )(struct as_timer_s *) |
bool(* | timedout )(const struct as_timer_s *) |
uint64_t(* | timeslice )(const struct as_timer_s *) |
int(* as_timer_hooks::destroy) (struct as_timer_s *) |
The destroy should free resources associated with the timer's source. The destroy should not free the timer itself.
Definition at line 39 of file as_timer.h.
bool(* as_timer_hooks::timedout) (const struct as_timer_s *) |
Definition at line 40 of file as_timer.h.
uint64_t(* as_timer_hooks::timeslice) (const struct as_timer_s *) |
Definition at line 41 of file as_timer.h.