Search code examples
How to use std::atomic efficiently...


c++performancec++11optimizationstdatomic

Read More
Does memory_order_seq_cst store guarantee that memory_order_relaxed load will read written value?...


c++concurrencyatomicstdatomic

Read More
Transitivity of release-acquire...


c++memory-barriersstdatomicmemory-model

Read More
Redundant Mutex - Is an atomic object a substitute for a mutex?, ¿Does Mutex generate atomicity...


c++multithreadingconcurrencymutexstdatomic

Read More
Could the following code written for a Reentrant Lock be susceptible to a stale data error and provi...


c++multithreadingcachingatomicstdatomic

Read More
Do I have to use atomic<bool> for "exit" bool variable?...


c++c++11atomicstdatomic

Read More
When should std::atomic_compare_exchange_strong be used?...


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

Read More
Is there any case that the atomicity of std::atomic is not guaranteed, when is_lock_free() == false?...


c++atomicstdatomic

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


c++concurrencystdatomic

Read More
Do dependent reads require a load-acquire?...


c++synchronizationrace-conditionmemory-barriersstdatomic

Read More
What is the difference between "happens before" and "precedes in a single total order...


c++concurrencylanguage-lawyermemory-barriersstdatomic

Read More
How is std::atomic_ref implemented for non-atomic types?...


c++c++20stdatomicstdmutex

Read More
Synchronization problem with std::atomic<>...


c++stdatomic

Read More
Can relaxed stores be reordered before a compare_exchange across the loop iterations?...


c++atomicmemory-barriersstdatomic

Read More
Using an atomic enum class in C++11 switch statement...


c++c++11enumsstdatomic

Read More
Is the implementation of the hazard pointer in C++ Concurrency in Action flawed?...


c++multithreadingconcurrencyatomicstdatomic

Read More
Hand-rolled readers-writers spin lock with priority for readers (write starvation is ok)...


c++lockinglock-freestdatomicspinlock

Read More
Why in my code cpp compare_exchange_strong updates and return false...


c++debuggingatomicstdatomiccompare-and-swap

Read More
undefined reference to '__atomic_*' in SCons but similar questions' solution won't w...


c++g++sconsgodotstdatomic

Read More
atomic exchange with memory_order_acquire and memory_order_release...


c++concurrencymemory-barriersstdatomic

Read More
Atomic array in C11...


catomicc11stdatomic

Read More
C++ sequential consistency and happens before relation...


c++multithreadingatomicstdatomicmemory-model

Read More
Why can relaxed operation be reordered? Doesn't program order imply happens-before?...


c++atomicmemory-barriersstdatomicmemory-model

Read More
C++: std::memory_order in std::atomic_flag::test_and_set to do some work only once by a set of threa...


c++multithreadingatomicmemory-barriersstdatomic

Read More
Changing code from Sequential Consistency to a less stringent ordering in a barrier implementation...


c++atomicmemory-barriersstdatomicbarrier

Read More
Implementing 64 bit atomic counter with 32 bit atomics...


c++c++11stdatomiclocklessseqlock

Read More
c++11 interprocess atomics and mutexes...


c++c++11ipcshared-memorystdatomic

Read More
Two Different Processes With 2 std::atomic Variables on Same Address?...


c++c++11shared-memorystdatomic

Read More
Missing small primes in C++ atomic prime sieve...


c++atomicstdatomicsieve-of-eratosthenes

Read More
Is the increment (operator++) thread-safe in C++?...


c++thread-safetystdatomic

Read More
BackNext