diff options
Diffstat (limited to '')
-rw-r--r-- | timer.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -29,10 +29,13 @@ #define _TIMER_H_ int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot); -/* exactly the same as timer_add() but does not trigger immediately */ + int timer_add_late(void (*callback) (void *data), void *data, const int interval, const int one_shot); -int timer_remove(void (*callback) (void *data), void *data); + int timer_process(struct timespec *delay); -void timer_exit(); + +int timer_remove(void (*callback) (void *data), void *data); + +void timer_exit(void); #endif |