alternative Standard Libary
0.29.8
|
abstract base class for loking Mehr ...
#include <lock_base.hpp>
Öffentliche Methoden | |
lock_base () | |
virtual | ~lock_base () |
virtual void | lock (void)=0 |
abstract function lock the current context Mehr ... | |
virtual bool | try_lock ()=0 |
abstract function try to lock the current context Mehr ... | |
virtual void | unlock (void)=0 |
abstract function unlock the current locked context Mehr ... | |
abstract base class for loking
|
pure virtual |
abstract function lock the current context
Implementiert in std::atomic_spinlock, std::mutex und std::spinlock.
|
pure virtual |
abstract function try to lock the current context
Implementiert in std::atomic_spinlock, std::mutex und std::spinlock.
|
pure virtual |
abstract function unlock the current locked context
Implementiert in std::atomic_spinlock, std::mutex und std::spinlock.