RTEMS Logo

RTEMS 4.10.2 On-Line Library


Chains Insert a Node

PREV UP NEXT Bookshelf RTEMS C User's Guide

28.4.15: Insert a Node

CALLING SEQUENCE:

void rtems_chain_insert(
  rtems_chain_node *after_node,
  rtems_chain_node *the_node
);

RETURNS

Returns nothing.

DESCRIPTION:

This routine inserts a node on a chain immediately following the specified node.

NOTES:

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

Use rtems_chain_insert_unprotected() to avoid disabling of interrupts.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation