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

Diff for /pegasus/src/Pegasus/Common/SpinLock.h between version 1.11 and 1.12

version 1.11, 2012/05/10 09:52:12 version 1.12, 2012/07/30 09:23:47
Line 37 
Line 37 
  
 //============================================================================== //==============================================================================
 // //
 // PEGASUS_PLATFORM_HPUX_PARISC_ACC  // PEGASUS_PLATFORM_HPUX_PARISC_ACC || PEGASUS_PLATFORM_HPUX_PARISC_GNU
 // //
 // NOTE:  This spinlock implementation is based on the paper "Implementing // NOTE:  This spinlock implementation is based on the paper "Implementing
 // Spinlocks on the Intel(R) Itanium(R) Architecture an PA-RISC" by Tor // Spinlocks on the Intel(R) Itanium(R) Architecture an PA-RISC" by Tor
Line 49 
Line 49 
 // //
 //============================================================================== //==============================================================================
  
 #if defined(PEGASUS_PLATFORM_HPUX_PARISC_ACC)  #if defined(PEGASUS_PLATFORM_HPUX_PARISC_ACC) || \
       defined(PEGASUS_PLATFORM_HPUX_PARISC_GNU)
 # define PEGASUS_SPIN_LOCK_DEFINED # define PEGASUS_SPIN_LOCK_DEFINED
  
 # include <sys/time.h>    // For select() # include <sys/time.h>    // For select()
Line 136 
Line 137 
 { {
     // Ensure that the compiler doesn't hold any externally-visible values in     // Ensure that the compiler doesn't hold any externally-visible values in
     // registers across the lock release.     // registers across the lock release.
   #ifndef PEGASUS_PLATFORM_HPUX_PARISC_GNU
     _flush_globals();     _flush_globals();
   #endif
  
     // Set to unlocked     // Set to unlocked
     *x.lock = 1;     *x.lock = 1;
Line 144 
Line 147 
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
 #endif /* PEGASUS_PLATFORM_HPUX_PARISC_ACC */  #endif /* PEGASUS_PLATFORM_HPUX_PARISC_ACC ||
        PEGASUS_PLATFORM_HPUX_PARISC_GNU */
  
 //============================================================================== //==============================================================================
 // //


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2