Insert or append node to a system list
Source position: exec.pas line 1256
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 |