Insert or append node to a system list
Source position: exec.pas line 1891
procedure Enqueue( |
list: PList; |
node: PNode |
); |
list |
|
A pointer to the system list header |
node |
|
The node to enqueue. This must be a full featured node with type, priority and name fields. |
Insert or append a node into a system list. The insert is performed based on the node priority. It will keep the list properly sorted. New nodes will be inserted in front of the first node with a lower priority. Hence a FIFO queue for nodes of equal priority
WARNING
This function does not arbitrate for access to the list. The calling task must be the owner of the involved list.
|
Insert a node at the head of a list |
|
|
Append node to tail of a list |
|
|
Insert a node into a list |
|
|
Remove a node from a list |
|
|
Remove the head node from a list |
|
|
Remove the tail node from a list |