自旋锁
More...
#include <spin_lock.h>
|
LIBCOPP_COPP_NAMESPACE_ID::util::lock::atomic_int_type< unsigned int > | lock_status_ |
|
◆ lock_state_t
◆ spin_lock()
util::lock::spin_lock::spin_lock |
( |
| ) |
|
|
inlinenoexcept |
◆ is_locked()
bool util::lock::spin_lock::is_locked |
( |
| ) |
|
|
inlinenoexcept |
◆ lock()
void util::lock::spin_lock::lock |
( |
| ) |
|
|
inlinenoexcept |
◆ try_lock()
bool util::lock::spin_lock::try_lock |
( |
| ) |
|
|
inlinenoexcept |
◆ try_unlock()
bool util::lock::spin_lock::try_unlock |
( |
| ) |
|
|
inlinenoexcept |
◆ unlock()
void util::lock::spin_lock::unlock |
( |
| ) |
|
|
inlinenoexcept |
◆ lock_status_
LIBCOPP_COPP_NAMESPACE_ID::util::lock::atomic_int_type< unsigned int > util::lock::spin_lock::lock_status_ |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/libcopp/libcopp/include/libcopp/utils/spin_lock.h