#include <psList.h>
Collaboration diagram for psList:

User should not allocate this struct directly; rather the psListAlloc should be used.
Definition at line 52 of file psList.h.
Data Fields | |
| long | n |
| number of elements on list | |
| psListElem * | head |
| first element on list (may be NULL) | |
| psListElem * | tail |
| last element on list (may be NULL) | |
| psArray * | iterators |
| array of all iterators associated with this list. | |
| pthread_mutex_t | lock |
| mutex to lock a node during changes | |
|
|
first element on list (may be NULL)
|
|
|
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. |
|
|
mutex to lock a node during changes
|
|
|
number of elements on list
|
|
|
last element on list (may be NULL)
|
1.4.2