Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
immer::spinlock Struct Reference
#include <refcount_policy.hpp>
Classes | |
struct | scoped_lock |
Public Member Functions | |
bool | try_lock () |
void | lock () |
void | unlock () |
Public Attributes | |
std::atomic_flag | v_ {} |
Detailed Description
Definition at line 31 of file refcount_policy.hpp.
Member Function Documentation
◆ lock()
|
inline |
Definition at line 40 of file refcount_policy.hpp.
References try_lock().
◆ try_lock()
|
inline |
◆ unlock()
|
inline |
Definition at line 54 of file refcount_policy.hpp.
References v_.
Referenced by immer::spinlock::scoped_lock::~scoped_lock().
Member Data Documentation
◆ v_
std::atomic_flag immer::spinlock::v_ {} |
Definition at line 33 of file refcount_policy.hpp.
Referenced by try_lock(), and unlock().
The documentation for this struct was generated from the following file:
- src/immer/refcount/refcount_policy.hpp