Timers and tick

DDE kit provides a generic timer implementation that enables users to execute a callback function after a certain period of time. Therefore, DDE kit starts a timer thread that executes callbacks and keeps track of the currently running timers.

Functions

Public functions

dde_kit_timer_del

Delete timer

Argument
dde_kit_timer * timer Timer reference

dde_kit_timer_init

Argument
void * priv

dde_kit_timer_pending

Check whether a timer is pending

Argument
dde_kit_timer * timer Timer reference
Return

int