(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.4.2.1 and 1.4.2.2

version 1.4.2.1, 2006/07/27 23:11:52 version 1.4.2.2, 2006/07/28 17:41:27
Line 63 
Line 63 
 //============================================================================== //==============================================================================
  
 #if defined(PEGASUS_HAVE_PTHREADS) #if defined(PEGASUS_HAVE_PTHREADS)
   typedef pthread_mutex_t MutexType;
 struct MutexRep struct MutexRep
 { {
     pthread_mutex_t mutex;     pthread_mutex_t mutex;
     pthread_mutexattr_t attr;     pthread_mutexattr_t attr;
     pthread_t owner;      ThreadType owner;
 }; };
   inline void mutex_lock(MutexType* mutex) { pthread_mutex_lock(mutex); }
   inline void mutex_unlock(MutexType* mutex) { pthread_mutex_unlock(mutex); }
   # define PEGASUS_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
 #endif #endif
  
 #if defined(PEGASUS_HAVE_WINDOWS_THREADS) #if defined(PEGASUS_HAVE_WINDOWS_THREADS)
   typedef HANDLE MutexType;
 struct MutexRep struct MutexRep
 { {
     HANDLE handle;     HANDLE handle;


Legend:
Removed from v.1.4.2.1  
changed lines
  Added in v.1.4.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2