Function clear

Summary

#include <include/EASTL/internal/atomic/atomic_flag.h>

(1) template <typename Order>
    void clear(Order order) volatile EA_NOEXCEPT

(2) template <typename Order>
    void clear(Order order) EA_NOEXCEPT

(3) void clear(eastl::internal::memory_order_relaxed_s) EA_NOEXCEPT

(4) void clear(eastl::internal::memory_order_release_s) EA_NOEXCEPT

(5) void clear(eastl::internal::memory_order_seq_cst_s) EA_NOEXCEPT

(6) void clear() EA_NOEXCEPT

Function overload

Synopsis

#include <include/EASTL/internal/atomic/atomic_flag.h>

template <typename Order>
void clear(Order order) volatile EA_NOEXCEPT

Description

No description yet.

Source

Lines 44-48 in include/EASTL/internal/atomic/atomic_flag.h.

template <typename Order>
void clear(Order order) volatile EA_NOEXCEPT
{
    EASTL_ATOMIC_STATIC_ASSERT_VOLATILE_MEM_FN(Order);
}

Synopsis

#include <include/EASTL/internal/atomic/atomic_flag.h>

template <typename Order>
void clear(Order order) EA_NOEXCEPT

Description

No description yet.

Source

Lines 50-54 in include/EASTL/internal/atomic/atomic_flag.h.

template <typename Order>
void clear(Order order) EA_NOEXCEPT
{
    EASTL_ATOMIC_STATIC_ASSERT_INVALID_MEMORY_ORDER(Order);
}

Synopsis

#include <include/EASTL/internal/atomic/atomic_flag.h>

void clear() EA_NOEXCEPT

Description

No description yet.

Source

Lines 71-74 in include/EASTL/internal/atomic/atomic_flag.h.

void clear() EA_NOEXCEPT
{
    mFlag.store(false, eastl::memory_order_seq_cst);
}





Add Discussion as Guest

Log in