다음을 통해 공유


atomic::is_lock_free 메서드

이 *this 은 잠금 가능의 원자 연산인지 지정합니다.

bool is_lock_free() const volatile _NOEXCEPT;

반환 값

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

설명

원자 형식이 잠금 가능 원자 단위 작업이 해당 형식에는 잠금을 사용하는 경우입니다.

요구 사항

헤더: atomic

네임스페이스: std

참고 항목

참조

<atomic>

atomic 구조체

atomic_is_lock_free 함수