ChibiOS  21.6.0
ch_priority_queue Struct Reference

Structure representing a generic priority-ordered bidirectional linked list header and element. More...

#include <chlists.h>

Collaboration diagram for ch_priority_queue:
Collaboration graph

Data Fields

ch_priority_queue_tnext
 Next in the queue.
More...
 
ch_priority_queue_tprev
 Previous in the queue.
More...
 
tprio_t prio
 Priority of this element.
More...
 

Detailed Description

Structure representing a generic priority-ordered bidirectional linked list header and element.

Note
Link fields are void pointers in order to avoid aliasing issues.

Definition at line 85 of file chlists.h.

Field Documentation

◆ next

ch_priority_queue_t* ch_priority_queue::next

Next in the queue.

Definition at line 86 of file chlists.h.

Referenced by ch_pqueue_init(), ch_pqueue_insert_ahead(), ch_pqueue_insert_behind(), and ch_pqueue_remove_highest().

◆ prev

ch_priority_queue_t* ch_priority_queue::prev

Previous in the queue.

Definition at line 87 of file chlists.h.

Referenced by ch_pqueue_init(), ch_pqueue_insert_ahead(), ch_pqueue_insert_behind(), and ch_pqueue_remove_highest().

◆ prio