atomic_is_lock_free
From cppreference.com
Defined in header
<stdatomic.h>
|
||
_Bool atomic_is_lock_free( const volatile A* obj );
|
(since C11) | |
Determines if the atomic object pointed to by obj
is implemented lock-free.
This is a generic function defined for all atomic object types. A
is the type of an atomic object.
[edit] Parameters
obj | - | pointer to the atomic object to inspect |
[edit] Return value
true if the atomic object is lock-free, false
otherwise.
[edit] See also
indicates that the given atomic type is lock-free (macro constant) |
|
C++ documentation for atomic_is_lock_free
|