Search code examples
Proper Use of Atomics for an Asynchronous Iterator with Multiple Producers and Consumers in c++20...

c++multithreadingc++20memory-barriersstdatomic

Read More
What exactly is std::atomic?...

c++multithreadingc++11atomicstdatomic

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

c++multithreadingatomicvolatilestdatomic

Read More
Does this transitive happens-before use case need sequential consistency or will acquire/release suf...

c++c++11stdatomicmemory-modelhappens-before

Read More
How is modification order of a variable defined in C++?...

c++c++20stdatomicmemory-model

Read More
Why set the stop flag using `memory_order_seq_cst`, if you check it with `memory_order_relaxed`?...

c++concurrencystdatomic

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

cc11rvaluestdatomiclvalue-to-rvalue

Read More
How to let different threads fill an array together?...

c++multithreadingparallel-processingmutexstdatomic

Read More
Memory Model in C++ : sequential consistency and atomicity...

c++multithreadingc++11x86stdatomic

Read More
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
Why is acquire semantics only for reads, not writes? How can an LL/SC acquire CAS take a lock withou...

assemblycpu-architecturestdatomiccompare-and-swapspinlock

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
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
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
BackNext