Go to the source code of this file.
|
| #define | vsf_timq_init(__queue) |
| | Initialize a timer queue.
|
| |
| #define | vsf_timq_insert(__queue, __teda) |
| | Insert a timer eda into the timer queue, sorted in ascending order of due.
|
| |
| #define | vsf_timq_remove(__queue, __teda) |
| | Remove a timer eda from the timer queue.
|
| |
| #define | vsf_timq_peek(__queue, __teda) |
| | Get the head timer eda (the earliest due) of the timer queue without removing it.
|
| |
| #define | vsf_timq_dequeue(__queue, __teda) |
| | Remove the head timer eda (the earliest due) from the timer queue.
|
| |
| #define | vsf_callback_timq_init(__queue) |
| | Initialize a callback timer queue.
|
| |
| #define | vsf_callback_timq_enqueue(__queue, __timer) |
| | Enqueue a callback timer to the tail of the timer queue (FIFO order)
|
| |
| #define | vsf_callback_timq_insert(__queue, __timer) |
| | Insert a callback timer into the timer queue, sorted in ascending order of due.
|
| |
| #define | vsf_callback_timq_remove(__queue, __timer) |
| | Remove a callback timer from the timer queue.
|
| |
| #define | vsf_callback_timq_peek(__queue, __timer) |
| | Get the head callback timer of the timer queue without removing it.
|
| |
| #define | vsf_callback_timq_dequeue(__queue, __timer) |
| | Remove the head callback timer from the timer queue.
|
| |
◆ vsf_timq_init
| #define vsf_timq_init |
( |
| __queue | ) |
|
Value:
#define vsf_dlist_init(__list_ptr)
Definition vsf_list.h:702
Initialize a timer queue.
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_timq_insert
| #define vsf_timq_insert |
( |
| __queue, |
|
|
| __teda ) |
Value:
(__queue), \
(__teda), \
eda with timer support (can use vsf_teda_set_timer() etc.); derived classes (task/pt/thread) inherit ...
Definition vsf_eda.h:1916
#define vsf_dlist_insert( __host_type, __member, __list_ptr, __item_ptr, __cond)
Definition vsf_list.h:769
Insert a timer eda into the timer queue, sorted in ascending order of due.
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_timq_remove
| #define vsf_timq_remove |
( |
| __queue, |
|
|
| __teda ) |
Value:
(__queue), \
(__teda))
#define vsf_dlist_remove( __host_type, __member, __list_ptr, __item_ptr)
Definition vsf_list.h:810
Remove a timer eda from the timer queue.
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_timq_peek
| #define vsf_timq_peek |
( |
| __queue, |
|
|
| __teda ) |
Value:
(__queue), \
(__teda))
#define vsf_dlist_queue_peek( __host_type, __member, __list_ptr, __item_ref_ptr)
Definition vsf_list.h:845
Get the head timer eda (the earliest due) of the timer queue without removing it.
- Parameters
-
| [in] | __queue | a pointer to the timer queue of type vsf_timer_queue_t |
| [out] | __teda | a vsf_teda_t pointer variable receiving the head timer eda, NULL if the queue is empty |
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_timq_dequeue
| #define vsf_timq_dequeue |
( |
| __queue, |
|
|
| __teda ) |
Value:
(__queue), \
(__teda))
#define vsf_dlist_queue_dequeue(__host_type, __member, __list_ptr, __item_ref_ptr)
Definition vsf_list.h:859
Remove the head timer eda (the earliest due) from the timer queue.
- Parameters
-
| [in] | __queue | a pointer to the timer queue of type vsf_timer_queue_t |
| [out] | __teda | a vsf_teda_t pointer variable receiving the removed head timer eda, NULL if the queue is empty |
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_callback_timq_init
| #define vsf_callback_timq_init |
( |
| __queue | ) |
|
Value:
Initialize a callback timer queue.
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_callback_timq_enqueue
| #define vsf_callback_timq_enqueue |
( |
| __queue, |
|
|
| __timer ) |
Value:
(__queue), \
(__timer))
Task-independent timer; when it expires the kernel task invokes the user callback.
Definition vsf_eda.h:1937
#define vsf_dlist_queue_enqueue(__host_type, __member, __list_ptr, __item_ptr)
Definition vsf_list.h:852
Enqueue a callback timer to the tail of the timer queue (FIFO order)
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_callback_timq_insert
| #define vsf_callback_timq_insert |
( |
| __queue, |
|
|
| __timer ) |
Value:
(__queue), \
(__timer), \
_->due >= (__timer)->due)
Insert a callback timer into the timer queue, sorted in ascending order of due.
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_callback_timq_remove
| #define vsf_callback_timq_remove |
( |
| __queue, |
|
|
| __timer ) |
Value:
Remove a callback timer from the timer queue.
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_callback_timq_peek
| #define vsf_callback_timq_peek |
( |
| __queue, |
|
|
| __timer ) |
Value:
Get the head callback timer of the timer queue without removing it.
- Parameters
-
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_callback_timq_dequeue
| #define vsf_callback_timq_dequeue |
( |
| __queue, |
|
|
| __timer ) |
Value:
Remove the head callback timer from the timer queue.
- Parameters
-
| [in] | __queue | a pointer to the timer queue of type vsf_timer_queue_t |
| [out] | __timer | a vsf_callback_timer_t pointer variable receiving the removed head callback timer, NULL if the queue is empty |
- Note
- Used internally by the kernel timer implementation; users normally do not call it directly.
◆ vsf_timer_queue_t