logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::atomic_flag - atomic_flag

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                             std::atomic_flag(3cxx)

Detailed Description

       atomic_flag

Name

       std::atomic_flag - atomic_flag

Synopsis

       #include <atomic>

       Inherits __atomic_flag_base.

   PublicMemberFunctions
       constexpr atomic_flag (bool __i) noexcept
       atomic_flag (const atomic_flag &)=deletevoidclear (memory_order__m=memory_order_seq_cst) noexcept
       voidclear (memory_order__m=memory_order_seq_cst) volatile noexcept
       voidnotify_all () noexcept
       voidnotify_one () noexcept
       atomic_flag & operator= (const atomic_flag &) volatile=deleteatomic_flag & operator= (const atomic_flag &)=delete
       bool test (memory_order__m=memory_order_seq_cst) const noexcept
       bool test (memory_order__m=memory_order_seq_cst) const volatile noexcept
       bool test_and_set (memory_order__m=memory_order_seq_cst) noexcept
       bool test_and_set (memory_order__m=memory_order_seq_cst) volatile noexcept
       voidwait (bool __old, memory_order__m=memory_order_seq_cst) const noexcept

See Also