IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2006, 11:40:12 AM (20 years ago)
Author:
Paul Price
Message:

Applying patch from Josh. Renaming psMemThreadSafety to psMemSetThreadSafety. Adding psMemGetThreadSafety. Using psMemGetThreadSafety in psDB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psMemory.h

    r7414 r7617  
    1212 *  @ingroup MemoryManagement
    1313 *
    14  *  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-06-07 23:16:44 $
     14 *  @version $Revision: 1.56 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-06-21 21:40:12 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    190190 *  @return bool:       The previous value of the thread safety.
    191191 */
    192 bool psMemThreadSafety(
     192bool psMemSetThreadSafety(
    193193    bool safe                          ///< boolean for turning on/off thread safety
    194194);
     195
     196/** Get the current state of thread safety and mutex locking in the memory management.
     197 *
     198 * psMemGetThreadSafety shall return the current state of thread safety in the memory management system.
     199 *
     200 *  @return bool:       The current state of thread safety.
     201 */
     202bool psMemGetThreadSafety(void);
    195203
    196204/** Set the memory as persistent so that it is ignored when detecting memory leaks.
Note: See TracChangeset for help on using the changeset viewer.