This class provides a RAII-style Sequentially Consistent (SC) data race free (DRF) critical block.
More...
#include <ordered_atomic.hpp>
This class provides a RAII-style Sequentially Consistent (SC) data race free (DRF) critical block.
RAII-style SC-DRF acquire via constructor and SC-DRF release via destructor, providing a DRF critical block.
This temporary object reuses a jau::sc_atomic_bool atomic synchronization element. The type of the acting atomic is not relevant, only its atomic SC-DRF properties.
See also:
Definition at line 314 of file ordered_atomic.hpp.
◆ sc_atomic_critical() [1/3]
◆ ~sc_atomic_critical()
jau::sc_atomic_critical::~sc_atomic_critical |
( |
| ) |
|
|
inlinenoexcept |
◆ sc_atomic_critical() [2/3]
jau::sc_atomic_critical::sc_atomic_critical |
( |
| ) |
|
|
deletenoexcept |
◆ sc_atomic_critical() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: