IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2005, 5:04:35 PM (21 years ago)
Author:
drobbin
Message:

made changes based on revisions in psLib SDRS rev. 15

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psList.h

    r4367 r4457  
    77 *  @ingroup LinkedList
    88 *
    9  *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-06-23 03:50:29 $
     9 *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-07-06 03:04:35 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5252typedef struct
    5353{
    54     psU32 size;                        ///< number of elements on list
     54    long n;                            ///< number of elements on list
    5555    psListElem* head;                  ///< first element on list (may be NULL)
    5656    psListElem* tail;                  ///< last element on list (may be NULL)
     
    6161
    6262    pthread_mutex_t lock;              ///< mutex to lock a node during changes
     63//    void *lock;                        ///< Optional lock for thread safety
    6364}
    6465psList;
     
    110111 */
    111112bool psListIteratorSet(
    112     psListIterator* iterator,            ///< list iterator
    113     int location                         ///< index number, PS_LIST_HEAD, or PS_LIST_TAIL
     113    psListIterator* iterator,          ///< list iterator
     114    long location                      ///< index number, PS_LIST_HEAD, or PS_LIST_TAIL
    114115);
    115116
     
    120121bool psListAdd(
    121122    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.
    123124    psPtr data                         ///< data item to add.  If NULL, list is not modified.
    124125);
Note: See TracChangeset for help on using the changeset viewer.