MongoDB  2.7.0
Public Member Functions | Static Public Member Functions | List of all members
mongo::SpinLock Class Reference

The spinlock currently requires late GCC support routines to be efficient. More...

#include <spin_lock.h>

Inheritance diagram for mongo::SpinLock:

Public Member Functions

void unlock ()
 
void lock ()
 

Static Public Member Functions

static bool isfast ()
 

Detailed Description

The spinlock currently requires late GCC support routines to be efficient.

Other platforms default to a mutex implemenation.


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