Search code examples
C11 memory model -- two threads execute atomic_fetch_add followed by atomic_load -- what output is p...


cmultithreadinglanguage-lawyeratomicstdatomic

Read More
Are C++20 new atomic_flag features supported in g++ / gcc?...


c++gccg++stdatomic

Read More
Atomic wait memory_order...


c++c++20atomicmemory-barriersstdatomic

Read More
C++20 mutex with atomic wait...


c++mutexc++20atomicstdatomic

Read More
std::atomic::notify_one could unblock multiple threads...


c++c++20waitnotifystdatomic

Read More
Happens Before relationship in the same thread...


c++concurrencyatomicstdatomic

Read More
c++11: how to produce "spurious failures" upon compare_exchange_weak?...


c++cpu-architecturestdatomic

Read More
How does atomic seq_cst memory order actually work?...


c++memory-barrierslock-freestdatomicspinlock

Read More
Thread-safety about `std::map<int, std::atomic<T>>` under a special condition...


c++c++11thread-safetystdmapstdatomic

Read More
In the example of std::atomic<T>::exchange, why the count of times is not 25?...


c++atomicstdatomic

Read More
Resize a vector of atomic?...


c++multithreadingvectoratomicstdatomic

Read More
Call the notify_all method after store with release memory order on an atomic...


c++multithreadingatomicc++20stdatomic

Read More
Thread-safety of reference count in std::shared_ptr...


c++thread-safetyshared-ptrstdatomicreference-counting

Read More
8/16-bit atomics on 32/64-bit processors...


c++atomiccpu-architecturestdatomicmemory-model

Read More
Efficient way to toggle an atomic_bool...


cx86atomiccompiler-optimizationstdatomic

Read More
Is it ever useful for only one thread to use memory_order_seq_cst?...


clanguage-lawyeratomicmemory-barriersstdatomic

Read More
C++ atomics and memory_order with RDMA...


c++cpu-architecturememory-barriersstdatomicrdma

Read More
Using optimistic locks in C++ and memory order...


c++synchronizationlockingstdatomicoptimistic-locking

Read More
Visible order of operations with acquire/release fence in C++...


c++multithreadingsynchronizationmemory-barriersstdatomic

Read More
Does boost atomic reference counting example contain a bug?...


c++boostlock-freestdatomicwait-free

Read More
Is my understanding of __ATOMIC_SEQ_CST correct? (I'd like to write a mutex with it + atomics)...


c++gccx86-64atomicstdatomic

Read More
Atomic function pointer call compiles in gcc, but not in clang and msvc...


c++language-lawyeratomicstdatomic

Read More
std::atomic passed as a const reference to a non-atomic type...


c++thread-safetystdatomic

Read More
MESI Protocol & std::atomic - Does it ensure all writes are immediately visible to other threads...


c++cpu-architecturememory-modelstdatomicmesi

Read More
What exactly is Synchronize-With relationship?...


c++multithreadingmemory-barriersstdatomicmemory-model

Read More
Does C++11 sequential consistency memory order forbid store buffer litmus test?...


c++cpu-architecturememory-barriersstdatomicmemory-model

Read More
std::atomic<bool> execution guarantee?...


c++multithreadingatomicstdatomic

Read More
How does mixing relaxed and acquire/release accesses on the same atomic variable affect synchronises...


c++c++11atomicmemory-barriersstdatomic

Read More
Acqrel memory order with 3 threads...


c++multithreadingatomicmemory-barriersstdatomic

Read More
Is it Thread Safe to read from lower index elements of an struct array while it is being filled with...


c++multithreadingproducer-consumerstdatomic

Read More
BackNext