proxygen
|
#include <DeterministicSchedule.h>
Public Member Functions | |
DeterministicAtomicImpl ()=default | |
~DeterministicAtomicImpl ()=default | |
DeterministicAtomicImpl (DeterministicAtomicImpl< T > const &)=delete | |
DeterministicAtomicImpl< T > & | operator= (DeterministicAtomicImpl< T > const &)=delete |
constexpr | DeterministicAtomicImpl (T v) noexcept |
bool | is_lock_free () const noexcept |
bool | compare_exchange_strong (T &v0, T v1, std::memory_order mo=std::memory_order_seq_cst) noexcept |
bool | compare_exchange_strong (T &v0, T v1, std::memory_order success, std::memory_order failure) noexcept |
bool | compare_exchange_weak (T &v0, T v1, std::memory_order mo=std::memory_order_seq_cst) noexcept |
bool | compare_exchange_weak (T &v0, T v1, std::memory_order success, std::memory_order failure) noexcept |
T | exchange (T v, std::memory_order mo=std::memory_order_seq_cst) noexcept |
operator T () const noexcept | |
T | load (std::memory_order mo=std::memory_order_seq_cst) const noexcept |
T | operator= (T v) noexcept |
void | store (T v, std::memory_order mo=std::memory_order_seq_cst) noexcept |
T | operator++ () noexcept |
T | operator++ (int) noexcept |
T | operator-- () noexcept |
T | operator-- (int) noexcept |
T | operator+= (T v) noexcept |
T | fetch_add (T v, std::memory_order mo=std::memory_order_seq_cst) noexcept |
T | operator-= (T v) noexcept |
T | fetch_sub (T v, std::memory_order mo=std::memory_order_seq_cst) noexcept |
T | operator&= (T v) noexcept |
T | fetch_and (T v, std::memory_order mo=std::memory_order_seq_cst) noexcept |
T | operator|= (T v) noexcept |
T | fetch_or (T v, std::memory_order mo=std::memory_order_seq_cst) noexcept |
T | operator^= (T v) noexcept |
T | fetch_xor (T v, std::memory_order mo=std::memory_order_seq_cst) noexcept |
T | load_direct () const noexcept |
Private Attributes | |
Atom< T > | data_ |
DeterministicAtomic<T> is a drop-in replacement std::atomic<T> that cooperates with DeterministicSchedule.
Definition at line 229 of file DeterministicSchedule.h.
|
default |
|
default |
|
delete |
|
inlinenoexcept |
Definition at line 236 of file DeterministicSchedule.h.
|
inlinenoexcept |
Definition at line 242 of file DeterministicSchedule.h.
References folly::detail::default_failure_memory_order().
|
inlinenoexcept |
Definition at line 249 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::detail::success.
|
inlinenoexcept |
Definition at line 264 of file DeterministicSchedule.h.
References folly::detail::default_failure_memory_order().
|
inlinenoexcept |
Definition at line 271 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::detail::success.
|
inlinenoexcept |
Definition at line 286 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 367 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 403 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 421 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 385 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 439 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 303 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
Referenced by TEST_F().
|
inlinenoexcept |
Read the value of the atomic variable without context switching
Definition at line 449 of file DeterministicSchedule.h.
References data_.
|
inlinenoexcept |
Definition at line 295 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 394 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, folly::T, and v.
|
inlinenoexcept |
Definition at line 326 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 334 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 358 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, folly::T, and v.
|
inlinenoexcept |
Definition at line 342 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 350 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, and folly::T.
|
inlinenoexcept |
Definition at line 376 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, folly::T, and v.
|
delete |
|
inlinenoexcept |
Definition at line 311 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, folly::T, and v.
|
inlinenoexcept |
Definition at line 430 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, folly::T, and v.
|
inlinenoexcept |
Definition at line 412 of file DeterministicSchedule.h.
References data_, FOLLY_TEST_DSCHED_VLOG, folly::T, and v.
|
inlinenoexcept |
Definition at line 319 of file DeterministicSchedule.h.
References data_, and FOLLY_TEST_DSCHED_VLOG.
Referenced by TEST_F().
|
private |
Definition at line 454 of file DeterministicSchedule.h.