Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
atomic_is_lock_free Function

atomic_is_lock_free Function

Specifies whether atomic operations on an atomic object are lock-free.

template <class Ty>
inline bool atomic_is_lock_free(
   const volatile atomic<Ty> *Atom
) _NOEXCEPT;
template <class Ty>
inline bool atomic_is_lock_free(
   const atomic<Ty> *Atom
) _NOEXCEPT;

Atom

A pointer to an atomic object that stores a value of type Ty.

true if atomic operations on Atom are lock-free; otherwise, false.

An atomic type is lock-free if no atomic operations on that type use locks.

Header: atomic

Namespace: std

Show:
© 2015 Microsoft