RTEMS Logo

RTEMS 4.10.2 On-Line Library


Chains Prepend a Node

PREV UP NEXT Bookshelf RTEMS C User's Guide

28.4.17: Prepend a Node

CALLING SEQUENCE:

void rtems_chain_prepend(
  rtems_chain_control *the_chain,
  rtems_chain_node    *the_node
);

RETURNS

Returns nothing.

DESCRIPTION:

This routine prepends a node to the front of the chain.

NOTES:

Interrupts are disabled during the prepend to ensure the atomicity of the operation.

Use rtems_chain_prepend_unprotected() to avoid disabling of interrupts.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation