proxygen
GoogleSpinLockAdapter Class Reference

Public Member Functions

void lock ()
 
void unlock ()
 

Private Attributes

SpinLock lock_
 

Detailed Description

Definition at line 101 of file SmallLocksBenchmark.cpp.

Member Function Documentation

void GoogleSpinLockAdapter::lock ( )
inline

Definition at line 103 of file SmallLocksBenchmark.cpp.

103  {
104  lock_.Lock();
105  }
void GoogleSpinLockAdapter::unlock ( )
inline

Definition at line 106 of file SmallLocksBenchmark.cpp.

106  {
107  lock_.Unlock();
108  }

Member Data Documentation

SpinLock GoogleSpinLockAdapter::lock_
private

Definition at line 111 of file SmallLocksBenchmark.cpp.


The documentation for this class was generated from the following file: