18#ifndef __VSF_TIMQ_DLIST_H__
19#define __VSF_TIMQ_DLIST_H__
24#if VSF_USE_KERNEL == ENABLED
32#define vsf_timq_init(__queue) vsf_dlist_init(__queue)
34#define vsf_timq_insert(__queue, __teda) \
36 vsf_teda_t, timer_node, \
39 _->due >= (__teda)->due)
41#define vsf_timq_remove(__queue, __teda) \
43 vsf_teda_t, timer_node, \
47#define vsf_timq_peek(__queue, __teda) \
48 vsf_dlist_queue_peek( \
49 vsf_teda_t, timer_node, \
53#define vsf_timq_dequeue(__queue, __teda) \
54 vsf_dlist_queue_dequeue( \
55 vsf_teda_t, timer_node, \
61#define vsf_callback_timq_init(__queue) vsf_dlist_init(__queue)
63#define vsf_callback_timq_enqueue(__queue, __timer) \
64 vsf_dlist_queue_enqueue( \
65 vsf_callback_timer_t, timer_node, \
69#define vsf_callback_timq_insert(__queue, __timer) \
71 vsf_callback_timer_t, timer_node, \
74 _->due >= (__timer)->due)
76#define vsf_callback_timq_remove(__queue, __timer) \
78 vsf_callback_timer_t, timer_node, \
82#define vsf_callback_timq_peek(__queue, __timer) \
83 vsf_dlist_queue_peek( \
84 vsf_callback_timer_t, timer_node, \
88#define vsf_callback_timq_dequeue(__queue, __timer) \
89 vsf_dlist_queue_dequeue( \
90 vsf_callback_timer_t, timer_node, \
Definition vsf_list.h:883
vsf_dlist_t vsf_timer_queue_t
Definition vsf_timq_dlist.h:96