RTEMS  5.1
Data Fields
Chain_Control Struct Reference

#include <chain.h>

Data Fields

struct {
   Chain_Node   Node
 
   Chain_Node *   fill
 
Head
 
struct {
   Chain_Node *   fill
 
   Chain_Node   Node
 
Tail
 

Detailed Description

This is used to manage a chain. A chain consists of a doubly linked list of zero or more nodes.

Note
This implementation does not require special checks for manipulating the first and last elements on the chain. To accomplish this the Chain_Control structure is treated as two overlapping Chain_Node structures.

The documentation for this struct was generated from the following file: