RTEMS Logo

RTEMS 4.9.5 On-Line Library


Chains Background

PREV UP NEXT Bookshelf RTEMS C User's Guide

28.2: Background

  • Chains Nodes
  • Chains Controls
  • The Chains API maps to the Super Core Chains API. Chains are implemented as a double linked list of nodes anchored to a control node. The list starts at the control node and is terminated at the control node. A node has previous and next pointers. Being a double linked list nodes can be inserted and removed without the need to travse the chain.

    Chains have a small memory footprint and can be used in interrupt service routines and are thread safe in a multi-threaded environment. The directives list which operations disable interrupts.

    Chains are very useful in Board Support packages and applications.


    PREV UP NEXT Bookshelf RTEMS C User's Guide

    Copyright © 1988-2008 OAR Corporation