Important: The information in this document is obsolete and should not be used for new development.
The FIFO List Structure
Open Transport FIFO (first-in, first-out) lists use the FIFO list structure. You must initialize this structure by setting the structure'sfHead
field toNULL
before using the LIFO list. The FIFO list structure is defined by the OTList data type.
struct OTList { OTLink* fHead; }; typedef struct OTList OTList;
Field Description
fHead
- A pointer to the first entry in the linked list. Set this to
NULL
to initialize the structure before using it.
- WARNING
- None of the functions that handle a FIFO list structure are atomic.