(file) Return to Mutex.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Mutex.h between version 1.10.4.1 and 1.10.4.2

version 1.10.4.1, 2008/04/22 11:58:15 version 1.10.4.2, 2009/02/02 17:21:37
Line 107 
Line 107 
  
     void unlock();     void unlock();
  
 #if defined(PEGASUS_OS_LINUX) ||  \  #if defined(PEGASUS_OS_LINUX)
     (defined(PEGASUS_OS_ZOS) && !(__TARGET_LIB__ < 0x41090000))  
     /**     /**
         This method must only be called after a fork() to reset the mutex         This method must only be called after a fork() to reset the mutex
         lock status in the new process.  Any other use of this method is         lock status in the new process.  Any other use of this method is
Line 164 
Line 163 
 // Use of this macro ensures that a static Mutex is not locked across a fork(). // Use of this macro ensures that a static Mutex is not locked across a fork().
  
 #if !defined(PEGASUS_HAVE_PTHREADS) || \ #if !defined(PEGASUS_HAVE_PTHREADS) || \
     (defined(PEGASUS_OS_ZOS) && (__TARGET_LIB__ < 0x41090000)) || \      (defined(PEGASUS_OS_ZOS) || \
     defined(PEGASUS_OS_VMS)     defined(PEGASUS_OS_VMS)
  
 # define PEGASUS_FORK_SAFE_MUTEX(mutex) # define PEGASUS_FORK_SAFE_MUTEX(mutex)
  
 #elif defined(PEGASUS_OS_LINUX) || \  #elif defined(PEGASUS_OS_LINUX)
       (defined(PEGASUS_OS_ZOS) && !(__TARGET_LIB__ < 0x41090000))  
  
 # define PEGASUS_FORK_SAFE_MUTEX(mutex)  \ # define PEGASUS_FORK_SAFE_MUTEX(mutex)  \
     class ForkSafeMutex ## mutex         \     class ForkSafeMutex ## mutex         \


Legend:
Removed from v.1.10.4.1  
changed lines
  Added in v.1.10.4.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2