Changeset 4457 for trunk/psLib/src/collections/psList.h
- Timestamp:
- Jul 5, 2005, 5:04:35 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psList.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psList.h
r4367 r4457 7 7 * @ingroup LinkedList 8 8 * 9 * @version $Revision: 1.2 8$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 6-23 03:50:29$9 * @version $Revision: 1.29 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-07-06 03:04:35 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 52 52 typedef struct 53 53 { 54 psU32 size;///< number of elements on list54 long n; ///< number of elements on list 55 55 psListElem* head; ///< first element on list (may be NULL) 56 56 psListElem* tail; ///< last element on list (may be NULL) … … 61 61 62 62 pthread_mutex_t lock; ///< mutex to lock a node during changes 63 // void *lock; ///< Optional lock for thread safety 63 64 } 64 65 psList; … … 110 111 */ 111 112 bool psListIteratorSet( 112 psListIterator* iterator, ///< list iterator113 int location///< index number, PS_LIST_HEAD, or PS_LIST_TAIL113 psListIterator* iterator, ///< list iterator 114 long location ///< index number, PS_LIST_HEAD, or PS_LIST_TAIL 114 115 ); 115 116 … … 120 121 bool psListAdd( 121 122 psList* list, ///< list to add item to 122 long location, ///< index, PS_LIST_HEAD, PS_LIST_TAIL, or numbered location.123 long location, ///< index, PS_LIST_HEAD, PS_LIST_TAIL, or numbered location. 123 124 psPtr data ///< data item to add. If NULL, list is not modified. 124 125 );
Note:
See TracChangeset
for help on using the changeset viewer.
