Export (0) Print
Expand All

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:
© 2014 Microsoft