Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psList Struct Reference
[Linked List]

#include <psList.h>

Collaboration diagram for psList:

Collaboration graph
[legend]

Detailed Description

The psList Linked list structure.

User should not allocate this struct directly; rather the psListAlloc should be used.

See also:
psListAlloc

Definition at line 52 of file psList.h.

Data Fields

psU32 size
 number of elements on list
psListElemhead
 first element on list (may be NULL)
psListElemtail
 last element on list (may be NULL)
psArrayiterators
 array of all iterators associated with this list
pthread_mutex_t lock
 mutex to lock a node during changes


Field Documentation

psListElem* psList::head
 

first element on list (may be NULL)

Definition at line 55 of file psList.h.

psArray* psList::iterators
 

array of all iterators associated with this list

First iterator is used internally to improve performance when using indexed access, all others are user-level iterators created by psListIteratorAlloc.

Definition at line 58 of file psList.h.

pthread_mutex_t psList::lock
 

mutex to lock a node during changes

Definition at line 62 of file psList.h.

psU32 psList::size
 

number of elements on list

Definition at line 54 of file psList.h.

psListElem* psList::tail
 

last element on list (may be NULL)

Definition at line 56 of file psList.h.


The documentation for this struct was generated from the following file:
Generated on Wed Jun 15 11:01:12 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.1