SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::simulation::SpinLock Class Reference

#include <Locks.h>

Public Member Functions

 SpinLock ()
 
 ~SpinLock ()
 
bool try_lock ()
 
void lock ()
 
void unlock ()
 

Constructor details

◆ SpinLock()

sofa::simulation::SpinLock::SpinLock ( )
inline

◆ ~SpinLock()

sofa::simulation::SpinLock::~SpinLock ( )
inline

Function details

◆ lock()

void sofa::simulation::SpinLock::lock ( )
inline

◆ try_lock()

bool sofa::simulation::SpinLock::try_lock ( )
inline

◆ unlock()

void sofa::simulation::SpinLock::unlock ( )
inline