Q_protos.h File Reference
Doubly linked list, function prototypes, callable version.
More...
#include <PBS/Q_comdefs.h>
|
Functions |
void | Q_append (Q_head *dst, Q_head *src) |
void | Q_init (Q_head *que) |
void | Q_destroy (Q_head *que) |
Q_node * | Q_insert (Q_head *que, Q_node *node) |
Q_node * | Q_jam (Q_head *que, Q_node *node) |
void | Q_prepend (Q_head *dst, Q_head *src) |
Q_node * | Q_remove (Q_head *que) |
Q_node * | Q_unlink (const Q_node *node) |
Detailed Description
Doubly linked list, function prototypes, callable version.
- Author:
- JJRussell - russell@slac.stanford.edu
CVS $Id: Q_protos.h,v 1.3 2011/03/24 23:05:43 apw Exp $
- SYNOPSIS
- This defines the non-inline versions of the Que routines. These allow the user to build non-interlocked doubly linked lists. These routines parallel some of the functionality of the VxWorks llXXXX routines, but are portable to both VxWorks and host platforms.
See also the non-inline versions of these routines which may save code space and increase modularity at the expense of performance. The QI routines provide the same functionality with the added feature of being interlocked, and, therefore, thread safe.