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

Diff for /pegasus/src/Pegasus/Common/SpinLock.cpp between version 1.10 and 1.11

version 1.10, 2006/06/26 23:30:26 version 1.11, 2006/08/09 21:12:42
Line 51 
Line 51 
 #ifdef PEGASUS_SPINLOCK_USE_PTHREADS #ifdef PEGASUS_SPINLOCK_USE_PTHREADS
 # include <pthread.h> # include <pthread.h>
 #else #else
 # include "IPC.h"  # include "Mutex.h"
 #endif #endif
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
Line 74 
Line 74 
 #ifdef PEGASUS_SPINLOCK_USE_PTHREADS #ifdef PEGASUS_SPINLOCK_USE_PTHREADS
     pthread_mutex_lock(&_spinLockInitMutex);     pthread_mutex_lock(&_spinLockInitMutex);
 #else #else
     _spinLockInitMutex.lock(pegasus_thread_self());      _spinLockInitMutex.lock();
 #endif #endif
  
     if (spinLockPoolInitialized == 0)     if (spinLockPoolInitialized == 0)


Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2