atomic_is_lock_free 함수
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
Ty 형식의 값을 저장하는 atomic 개체에 대한 포인터입니다.
반환 값
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.
요구 사항
헤더: atomic
네임스페이스: std