std::atomic::atomic
From cppreference.com
bool is_lock_free() const;
|
(since C++11) | |
bool is_lock_free() const volatile;
|
(since C++11) | |
Checks whether the atomic operations on the object are lock-free.
Contents |
[edit] Parameters
(none)
[edit] Return value
true if the atomic operations on the object are lock-free, false otherwise.
[edit] Exceptions
[edit] See also
(C++11)
|
checks if the atomic type's operations are lock-free (function template) |