Provided by: libtickit-dev_0.2-5_amd64
tickit_later - invoke a callback at the next round of IO events
#include <tickit.h> typedef int TickitCallbackFn(Tickit *t, TickitEventflags flags, void *user); int tickit_later(Tickit *t, int msec, TickitBindFlags flags, TickitCallbackFn *fn, void *user); Link with -ltickit.
tickit_later() registers a callback function to be invoked by the toplevel event loop as it processes the next round of IO events. A registered callback will be invoked by a running call to tickit_run(3). The callback function will be invoked once, and then destroyed afterwards. When invoked, the callback function is always passed both TICKIT_EV_FIRE and TICKIT_EV_UNBIND flags to its flags argument. If the callback had been registered with the TICKIT_BIND_DESTROY flag, then it will also be invoked with the TICKIT_EV_DESTROY flag if it has not yet been invoked by the time the toplevel instance is destroyed.
tickit_later() returns no value.
tickit_new_stdio(3), tickit_timer_after_msec(3), tickit(7) TICKIT_LATER(3)