mongo::SpinLock Class Reference

#include <spin_lock.h>

List of all members.

Public Member Functions

void lock ()
 SpinLock ()
void unlock ()
 ~SpinLock ()

Private Member Functions

SpinLockoperator= (SpinLock &)
 SpinLock (SpinLock &)

Private Attributes

RWLock _mutex

Detailed Description

The spinlock currently requires late GCC support routines to be efficient. Other platforms default to a mutex implemenation.

Definition at line 30 of file spin_lock.h.


Constructor & Destructor Documentation

mongo::SpinLock::SpinLock (  ) 
mongo::SpinLock::~SpinLock (  ) 
mongo::SpinLock::SpinLock ( SpinLock  )  [private]

Member Function Documentation

void mongo::SpinLock::lock (  ) 
SpinLock& mongo::SpinLock::operator= ( SpinLock  )  [private]
void mongo::SpinLock::unlock (  ) 

Member Data Documentation

Definition at line 45 of file spin_lock.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:58 2013