Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

ExecInsert

Insert a node into a list

Declaration

Source position: exec.pas line 1774

procedure ExecInsert(

  List: PList;

  Node: PNode;

  ListNode: PNode

);

Arguments

List

  

A pointer to the target list

Node

  

Node to insert

Description

Insert a node into a system list after a given node. Insertion at the head of a list is possible by passing a nil value for listNode, though the AddHead() function is slightly faster for that special case. The original name Insert is colliding with the RTL Insert.

WARNING

This function does not arbitrate for access to the list. The calling task must be the owner of the involved list.

See also

AddHead

  

Insert a node at the head of a list

AddTail

  

Append node to tail of a list

Enqueue

  

Insert or append node to a system list

Remove

  

Remove a node from a list

RemHead

  

Remove the head node from a list

RemTail

  

Remove the tail node from a list


Documentation generated on: 2021-07-30