atomic_is_lock_free
atomic_is_lock_free
Defined in header <stdatomic.h> | ||
---|---|---|
_Bool atomic_is_lock_free( const volatile A* obj ); | (since C11) |
Determines if the atomic operations on all objects of the type A
(the type of the object pointed to by obj
) are lock-free. In any given program execution, the result of calling atomic_is_lock_free
is the same for all pointers of the same type.
This is a generic function defined for all atomic object types A
. The argument is point