Changeset 6419 for trunk/psLib/src/sys/psMemory.h
- Timestamp:
- Feb 9, 2006, 4:44:46 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psMemory.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psMemory.h
r5216 r6419 12 12 * @ingroup MemoryManagement 13 13 * 14 * @version $Revision: 1.5 1$ $Name: not supported by cvs2svn $15 * @date $Date: 200 5-10-01 02:22:13$14 * @version $Revision: 1.52 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-02-10 02:44:46 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 169 169 */ 170 170 psFreeFunc psMemGetDeallocator( 171 const psPtr ptr ///< the memory block171 const psPtr ptr ///< the memory block 172 172 ); 173 173 … … 181 181 ); 182 182 183 /** Activate or Deactivate thread safety and mutex locking in the memory management. 184 * 185 * psMemThreadSafety shall turn on thread safety in the memory management functions if 186 * safe is true, and deactivate all mutex locking in the memory management functions if 187 * safe is false. The function shall return the previous value of the thread safety. 188 * Note that the default behaviour of the library shall be for the locking to be performed. 189 * 190 * @return bool: The previous value of the thread safety. 191 */ 192 bool psMemThreadSafety( 193 bool safe ///< boolean for turning on/off thread safety 194 ); 183 195 184 196 /** Set the memory as persistent so that it is ignored when detecting memory leaks.
Note:
See TracChangeset
for help on using the changeset viewer.
