Index: trunk/psLib/src/sys/psMemory.h
===================================================================
--- trunk/psLib/src/sys/psMemory.h	(revision 5216)
+++ trunk/psLib/src/sys/psMemory.h	(revision 6419)
@@ -12,6 +12,6 @@
  *  @ingroup MemoryManagement
  *
- *  @version $Revision: 1.51 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-10-01 02:22:13 $
+ *  @version $Revision: 1.52 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-02-10 02:44:46 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -169,5 +169,5 @@
  */
 psFreeFunc psMemGetDeallocator(
-    const psPtr ptr                          ///< the memory block
+    const psPtr ptr                    ///< the memory block
 );
 
@@ -181,4 +181,16 @@
 );
 
+/** Activate or Deactivate thread safety and mutex locking in the memory management.
+ *
+ *  psMemThreadSafety shall turn on thread safety in the memory management functions if
+ *  safe is true, and deactivate all mutex locking in the memory management functions if
+ *  safe is false.  The function shall return the previous value of the thread safety.
+ *  Note that the default behaviour of the library shall be for the locking to be performed.
+ *
+ *  @return bool:       The previous value of the thread safety.
+ */
+bool psMemThreadSafety(
+    bool safe                          ///< boolean for turning on/off thread safety
+);
 
 /** Set the memory as persistent so that it is ignored when detecting memory leaks.
