34#ifdef HAVE_POSIX_TIMERS
38#elif defined(HAVE_KQUEUE_TIMERS)
void my_timer_deinitialize()
Release any resources that were allocated as part of initialization.
Definition: kqueue_timers.cc:135
int my_timer_initialize()
Initialize internal components.
Definition: kqueue_timers.cc:113
timer_t os_timer_t
Definition: my_timer.h:37
int my_timer_create(my_timer_t *timer)
Create a timer object.
Definition: kqueue_timers.cc:148
int my_timer_cancel(my_timer_t *timer, int *state)
Cancel the timer.
Definition: kqueue_timers.cc:185
int my_timer_set(my_timer_t *timer, unsigned long time)
Set the time until the next expiration of the timer.
Definition: kqueue_timers.cc:166
void my_timer_delete(my_timer_t *timer)
Delete a timer object.
Definition: kqueue_timers.cc:213
Definition: my_timer.h:50
void(* notify_function)(my_timer_t *)
Timer expiration notification function.
Definition: my_timer.h:55
os_timer_t id
Definition: my_timer.h:52
Include file for Sun RPC to compile out of the box.
#define HANDLE
Definition: violite.h:159