#include <spinlock.hpp>
◆ native_handle_type
◆ spinlock() [1/2]
std::spinlock::spinlock |
( |
| ) |
|
static int spinlockInit(spinlk_type *mutex, const void *attr)
Definition: PLATFORM.cpp:154
◆ ~spinlock()
std::spinlock::~spinlock |
( |
| ) |
|
|
virtual |
void unlock(void)
abstract function unlock the current locked context
Definition: spinlock.cpp:43
static int spinlockDestroy(spinlk_type *mutex)
Definition: PLATFORM.cpp:157
◆ spinlock() [2/2]
std::spinlock::spinlock |
( |
const spinlock & |
| ) |
|
|
delete |
◆ lock()
void std::spinlock::lock |
( |
void |
| ) |
|
|
virtual |
abstract function lock the current context
Implementiert std::lock_base.
static int spinlockLock(spinlk_type *mutex)
Definition: PLATFORM.cpp:160
◆ native_handle()
◆ operator=()
◆ try_lock()
bool std::spinlock::try_lock |
( |
void |
| ) |
|
|
virtual |
abstract function try to lock the current context
Implementiert std::lock_base.
static int spinlockTryLock(spinlk_type *mutex)
Definition: PLATFORM.cpp:166
◆ unlock()
void std::spinlock::unlock |
( |
void |
| ) |
|
|
virtual |
abstract function unlock the current locked context
Implementiert std::lock_base.
static int spinlockUnLock(spinlk_type *mutex)
Definition: PLATFORM.cpp:163
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: