(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.15 and 1.16

version 1.15, 2008/10/17 11:07:33 version 1.16, 2008/11/14 13:46:20
Line 116 
Line 116 
  
     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 173 
Line 172 
 // 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_PLATFORM_ZOS_ZSERIES64_IBM) || \  
     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.15  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2