Important: The information in this document is obsolete and should not be used for new development.
OTLIFODequeue
Removes the first link in a LIFO list and returns a pointer to it.C INTERFACE
OTLink* OTLIFODequeue (OTLIFO* list)C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
list
- A pointer to the LIFO list from which you want to remove the link.
- function result
- A pointer to the link that has be removed.
DISCUSSION
This function atomically removes the first link in the specified LIFO list and returns a pointer to it. If there are no elements in the list, it returnsnil
.Use the
OTLIFOStealList
function to remove all links from a LIFO list.