Search code examples
Are acquire-release semantics transitive across threads?...


c++multithreadingconcurrencymemory-barriersstdatomic

Read More
What does memory_order_consume really do?...


c++cpu-architecturelock-freememory-modelstdatomic

Read More
Can atomic loads be merged in the C++ memory model?...


c++language-lawyercompiler-optimizationmemory-modelstdatomic

Read More
std::atomic<T>::wait - is spurious wakeup possible or not?...


c++c++20stdatomicspurious-wakeup

Read More
Is it necessary to call load() before compare_exchange_strong()?...


c++atomicmemory-barriersstdatomiccompare-and-swap

Read More
Can we not add an acquire barrier when locking if there is no release (unlock) from other threads?...


catomicmemory-barriersstdatomic

Read More
C++ Atomic compare_exchange_weak succeeds the second time, even though I haven't changed expecte...


c++c++11atomicstdatomiccompare-and-swap

Read More
std::atomic<int> memory_order_relaxed VS volatile sig_atomic_t in a multithreaded program...


c++multithreadingvolatilememory-modelstdatomic

Read More
Why don't compilers merge redundant std::atomic writes?...


c++multithreadingc++11compiler-optimizationstdatomic

Read More
busy waiting with atomic<bool>...


c++atomicstdatomic

Read More
Why does a std::atomic store with sequential consistency use XCHG?...


c++assemblyx86lock-freestdatomic

Read More
Understanding std::atomic::compare_exchange_weak() in C++11...


c++multithreadingc++11atomicstdatomic

Read More
What would it take to implement a mutex using std::atomic?...


c++multithreadingconcurrencylockingstdatomic

Read More
Why would my C++ stdlib's shared_ptr use acq_rel ordering when decrementing the atomic ref count...


c++shared-ptrstdatomic

Read More
C++ Multi-threading: Visible side-effects of non-atomic variables...


c++c++11language-lawyerlock-freestdatomic

Read More
Is the order of a side effect in the modification order determined by when the side effect is produc...


c++language-lawyeratomicstdatomicmemory-model

Read More
Does atomic read guarantee reading of the latest value?...


c++multithreadingatomicvolatilestdatomic

Read More
Am I understanding memory ordering models correctly?...


cpthreadsmemory-barriersstdatomic

Read More
Why isn't atomic double fully implemented...


c++floating-pointatomiccompare-and-swapstdatomic

Read More
What is the difference in atomic_load() and assignment?...


c11rvaluestdatomiclvalue-to-rvalue

Read More
How do memory_order_seq_cst and memory_order_acq_rel differ?...


c++c++11memory-modelstdatomic

Read More
Why does default constructor of std::atomic not default initialize the underlying stored value?...


c++initializationlanguage-lawyerstdatomic

Read More
How to synchronize a global object between two threads in C++?...


c++multithreadingstdatomic

Read More
Indirect & Direct initialization of std::atomic in C++11/17. What are the differences?...


c++c++11c++17stdstdatomic

Read More
lock free single producer multiple consumer data struct using atomic...


c++c++14lock-freestdatomic

Read More
Is std::atomic<bool> trivially copyable?...


c++language-lawyerstdatomictrivially-copyable

Read More
How does libcxx std::counting_semaphore implement "Strongly happens before" for release / ...


c++language-lawyerc++20memory-barriersstdatomic

Read More
Don't really get the logic of std::atomic::compare_exchange_weak and compare_exchange_strong...


c++multithreadingatomicstdatomiccompare-and-swap

Read More
Understanding sequential consistency fence in C++...


c++memory-barriersstdatomic

Read More
Why is memory_order given as a runtime argument to std::atomic functions...


c++c++11atomicstdatomicmemory-model

Read More
BackNext