YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::AtomicFlag< Impl > Class Template Reference

#include <atomic_flag.hpp>

Inheritance diagram for yaclib::detail::AtomicFlag< Impl >:
[legend]
Collaboration diagram for yaclib::detail::AtomicFlag< Impl >:
[legend]

Public Member Functions

void clear (std::memory_order order=std::memory_order_seq_cst) volatile noexcept
 
void clear (std::memory_order order=std::memory_order_seq_cst) noexcept
 
bool test_and_set (std::memory_order order=std::memory_order_seq_cst) volatile noexcept
 
bool test_and_set (std::memory_order order=std::memory_order_seq_cst) noexcept
 

Detailed Description

template<typename Impl>
class yaclib::detail::AtomicFlag< Impl >

Definition at line 10 of file atomic_flag.hpp.

Member Function Documentation

◆ clear() [1/2]

template<typename Impl >
void yaclib::detail::AtomicFlag< Impl >::clear ( std::memory_order  order = std::memory_order_seq_cst)
inlinenoexcept

Definition at line 19 of file atomic_flag.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ clear() [2/2]

template<typename Impl >
void yaclib::detail::AtomicFlag< Impl >::clear ( std::memory_order  order = std::memory_order_seq_cst) volatile
inlinenoexcept

Definition at line 16 of file atomic_flag.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ test_and_set() [1/2]

template<typename Impl >
bool yaclib::detail::AtomicFlag< Impl >::test_and_set ( std::memory_order  order = std::memory_order_seq_cst)
inlinenoexcept

Definition at line 27 of file atomic_flag.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.

◆ test_and_set() [2/2]

template<typename Impl >
bool yaclib::detail::AtomicFlag< Impl >::test_and_set ( std::memory_order  order = std::memory_order_seq_cst) volatile
inlinenoexcept

Definition at line 23 of file atomic_flag.hpp.

References yaclib::MakeContract(), and YACLIB_INJECT_FAULT.


The documentation for this class was generated from the following file: