#include <spinlock.hpp>
◆ lock_type
◆ native_handle_type
◆ type
Aufzählungswerte |
---|
Locked | |
Unlocked | |
Definition: spinlock.hpp:66
Definition: spinlock.hpp:66
◆ atomic_spinlock() [1/2]
std::atomic_spinlock::atomic_spinlock |
( |
| ) |
|
|
inline |
◆ ~atomic_spinlock()
std::atomic_spinlock::~atomic_spinlock |
( |
| ) |
|
|
inline |
◆ atomic_spinlock() [2/2]
◆ lock()
void std::atomic_spinlock::lock |
( |
void |
| ) |
|
|
inlinevirtual |
abstract function lock the current context
Implementiert std::lock_base.
value_type exchange(value_type v, MemoryOrder::MemoryOrder_t order=MemoryOrder::SeqCst)
Definition: atomic.hpp:70
Definition: spinlock.hpp:66
Definition: atomic.hpp:45
◆ native_handle()
◆ operator=()
◆ try_lock()
bool std::atomic_spinlock::try_lock |
( |
void |
| ) |
|
|
inlinevirtual |
abstract function try to lock the current context
Implementiert std::lock_base.
value_type exchange(value_type v, MemoryOrder::MemoryOrder_t order=MemoryOrder::SeqCst)
Definition: atomic.hpp:70
void lock(void)
abstract function lock the current context
Definition: spinlock.hpp:77
Definition: spinlock.hpp:66
Definition: atomic.hpp:45
◆ unlock()
void std::atomic_spinlock::unlock |
( |
void |
| ) |
|
|
inlinevirtual |
abstract function unlock the current locked context
Implementiert std::lock_base.
Definition: spinlock.hpp:66
Definition: atomic.hpp:46
void store(value_type v, MemoryOrder::MemoryOrder_t order=MemoryOrder::SeqCst)
Definition: atomic.hpp:65
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: