Changes in kernel/generic/include/time/timeout.h [46b305a:a6e55886] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/time/timeout.h
r46b305a ra6e55886 43 43 44 44 typedef struct { 45 /** Link to the list of active timeouts on timeout->cpu */ 45 IRQ_SPINLOCK_DECLARE(lock); 46 47 /** Link to the list of active timeouts on CURRENT->cpu */ 46 48 link_t link; 47 /** Timeout will be activated when current clock tick reaches this value. */48 uint64_t deadline;49 /** Timeout will be activated in this amount of clock() ticks. */ 50 uint64_t ticks; 49 51 /** Function that will be called on timeout activation. */ 50 52 timeout_handler_t handler; … … 59 61 extern void timeout_init(void); 60 62 extern void timeout_initialize(timeout_t *); 63 extern void timeout_reinitialize(timeout_t *); 61 64 extern void timeout_register(timeout_t *, uint64_t, timeout_handler_t, void *); 62 65 extern bool timeout_unregister(timeout_t *);
Note:
See TracChangeset
for help on using the changeset viewer.