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.

Header: atomic

Namespace: std

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft