Changeset 4401 for trunk/psLib/src/sysUtils/psMemory.h
- Timestamp:
- Jun 27, 2005, 10:38:12 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psMemory.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psMemory.h
r4397 r4401 12 12 * @ingroup MemoryManagement 13 13 * 14 * @version $Revision: 1.4 3$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06-2 5 03:32:42 $14 * @version $Revision: 1.44 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-27 20:38:12 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 67 67 struct psMemBlock* previousBlock; ///< previous block in allocation list 68 68 struct psMemBlock* nextBlock; ///< next block allocation list 69 psFreeFunc freeF cn;///< deallocator. If NULL, use generic deallocation.69 psFreeFunc freeFunc; ///< deallocator. If NULL, use generic deallocation. 70 70 size_t userMemorySize; ///< the size of the user-portion of the memory block 71 const psMemId id; ///< a unique ID for this allocation71 const psMemId id; ///< a unique ID for this allocation 72 72 const char *file; ///< set from __FILE__ in e.g. p_psAlloc 73 const psS32 lineno; ///< set from __LINE__ in e.g. p_psAlloc73 const psS32 lineno; ///< set from __LINE__ in e.g. p_psAlloc 74 74 pthread_mutex_t refCounterMutex; ///< mutex to ensure exclusive access to reference counter 75 75 psReferenceCount refCounter; ///< how many times pointer is referenced 76 psBool persistent; ///< marks if this non-user persistent data like error stack, etc.76 psBool persistent; ///< marks if this non-user persistent data like error stack, etc. 77 77 const psPtr endblock; ///< initialised to p_psMEMMAGIC 78 78 } … … 152 152 void psMemSetDeallocator( 153 153 psPtr ptr, ///< the memory block to operate on 154 psFreeFunc freeF cn///< the function to be executed at deallocation154 psFreeFunc freeFunc ///< the function to be executed at deallocation 155 155 ); 156 156
Note:
See TracChangeset
for help on using the changeset viewer.
