|
tenno 0.1.0
|
#include <atomic.hpp>
Public Types | |
| using | value_type = U * |
Public Member Functions | |
| atomic () noexcept=default | |
| ~atomic () noexcept=default | |
| atomic (const atomic &)=delete | |
| atomic & | operator= (const atomic &)=delete |
| atomic & | operator= (const atomic &) volatile =delete |
| bool | is_lock_free () const noexcept |
| void | store (U *desired) noexcept |
| U | load () noexcept |
| operator U () noexcept | |
| U | exchange (U *desired) noexcept |
| bool | compare_exchange_weak (const U *expected, U *desired) noexcept |
| Compare and exchange the value of the atomic object. | |
| bool | compare_exchange_strong (const U *expected, U *desired) noexcept |
Data Fields | |
| const bool | is_always_lock_free = false |
Definition at line 118 of file atomic.hpp.
| using tenno::atomic< U * >::value_type = U * |
Definition at line 121 of file atomic.hpp.
|
defaultnoexcept |
|
defaultnoexcept |
|
delete |
|
inlinenoexcept |
Definition at line 177 of file atomic.hpp.
|
inlinenoexcept |
Compare and exchange the value of the atomic object.
| expected | The expected value |
| desired | The desired value |
Definition at line 166 of file atomic.hpp.
|
inlinenoexcept |
Definition at line 152 of file atomic.hpp.
|
inlinenoexcept |
Definition at line 130 of file atomic.hpp.
|
inlinenoexcept |
Definition at line 141 of file atomic.hpp.
|
inlinenoexcept |
Definition at line 147 of file atomic.hpp.
|
delete |
|
delete |
|
inlinenoexcept |
Definition at line 135 of file atomic.hpp.
| const bool tenno::atomic< U * >::is_always_lock_free = false |
Definition at line 122 of file atomic.hpp.