Search code examples
Efficient way to reset array of structs which contain a std::atomic member?...

c++stdatomicmemsetauto-vectorization

Read More
Which one performs better: load(memory_order_seq_cst) or atomic_fetch_add(0, memory_order_relaxed) o...

c++x86x86-64atomicstdatomic

Read More
`is_always_lock_free` gives `true` but `is_lock_free()` gives `false` on macOS, why?...

c++macosclanglock-freestdatomic

Read More
Mixing memory orders with/out conditionals...

c++multithreadingatomicmemory-barriersstdatomic

Read More
When should you use std::atomic instead of std::mutex?...

c++multithreadingc++11mutexstdatomic

Read More
How to use std::atomic<> effectively for non-primitive types?...

c++multithreadingc++11thread-safetystdatomic

Read More
How to use memory barriers (instead of fetch_add) to make addition atomic and thread safe...

c++cpu-architectureatomicmemory-barriersstdatomic

Read More
How does the memory controller guarantee memory ordering of atomics when propagating cachelines?...

c++cpu-architectureatomicstdatomicmemory-model

Read More
How to implement an atomic increment of a pointer to an integer using std::atomic?...

c++c++11atomicstdatomic

Read More
Is there a way to perform atomic operations on a non-atomic object?...

c++c++11atomicstdatomic

Read More
Is there support for lock-free operations such as CAS in the standard library?...

c++atomiclock-freestdatomiccompare-and-swap

Read More
Are atomic variables lock-free?...

c++multithreadingc++11atomicstdatomic

Read More
Is ++ atomic for std::atomic<int>...

c++c++11atomicstdatomic

Read More
When does std::atomic<> post-increment take place?...

c++multithreadingc++11stdatomic

Read More
How to implement an atomic counter...

c++multithreadingatomicstdatomic

Read More
Must I call atomic load/store explicitly?...

c++c++11atomicstdatomic

Read More
"Use of deleted function" error with std::atomic_int...

c++c++11stdatomic

Read More
How to access the value of a std::atomic<int> as non-atomic...

c++atomicstdatomic

Read More
How can I print value of std::atomic<unsigned int>?...

c++printingatomicstdatomic

Read More
error: use of deleted function ‘std::atomic<unsigned int>::atomic(const std::atomic<unsigne...

c++c++14stdatomic

Read More
Is `seq_cst` strictly stronger or equally strong than `acq_rel`?...

c++multithreadingatomicstdatomic

Read More
MSVC compiled code hits debug assert when using _Atomic float...

cvisual-c++c11stdatomiccompiler-bug

Read More
Reorder relaxed atomic operations on the same object...

c++atomicmemory-barriersstdatomicmemory-model

Read More
How do you use a std::atomic<bool> to ensure mutual exclusion in a code block?...

c++multithreadingc++11concurrencystdatomic

Read More
What does "release sequence" mean?...

c++multithreadingc++11memory-modelstdatomic

Read More
How do I elegantly zero-initialize an array of std::atomic?...

c++c++11atomicstdatomic

Read More
How to synchronise constructor with the rest of the class...

c++multithreadingthread-safetymemory-barriersstdatomic

Read More
Is a global variable accessed by three threads (2 writers, 1 reader) without any synchronization pot...

cmultithreadingatomicstdatomic

Read More
Best way to atomically bitwise AND a byte in C/C++?...

c++catomicstdatomic

Read More
Non-deterministic read values when using std::atomic store/load with std::memory_order_seq_cst...

c++multithreadingsynchronizationstdatomic

Read More
BackNext