atomic::is_lock_free Method

atomic::is_lock_free Method

 

Specifies whether atomic operations on *this are lock free.

bool is_lock_free() const volatile _NOEXCEPT;

true if atomic operations on *this are lock free; otherwise, false.

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

Requirements

Header: atomic

Namespace: std

Show:
© 2016 Microsoft