Returns a pointer a node. If a node was removed, then a pointer to that node is returned. If the chain was empty, then NULL is returned.
This function removes the first node from the chain and returns a pointer to that node. If the chain is empty, then NULL is returned.
Interrupts are disabled while obtaining the node to ensure the atomicity of the operation.
Use rtems.chain_get_unprotected()
to avoid disabling of
interrupts.
Copyright © 1988-2008 OAR Corporation