Search code examples
c++, std::atomic, what is std::memory_order and how to use them?...

c++multithreadingatomicmemory-modelstdatomic

Read More
Why do GCC atomic builtins need an additional "generic" version?...

cgccintrinsicsstdatomic

Read More
is `memory_order_relaxed` necessary to prevent partial reads of atomic stores...

c++memory-modelstdatomic

Read More
Why my std::atomic<int> variable isn't thread-safe?...

c++thread-safetyatomicrace-conditionstdatomic

Read More
In C++, is there any effective difference between a acquire/release atomic access and a relaxed acce...

c++multithreadingmemory-barriersmemory-modelstdatomic

Read More
How is race condition caused when || operator is used instead of && within the std::atomic?...

c++multithreadingc++11race-conditionstdatomic

Read More
Synchronization with C++ atomic memory fence...

c++multithreadingatomicmemory-barriersstdatomic

Read More
Acquire-release memory order between multiple threads...

c++multithreadingmemory-modelstdatomic

Read More
reordering atomic operations in C++...

c++multithreadingmemory-modelstdatomic

Read More
Atomically incrementing an integer in shared memory for multiple processes on linux x86-64 with gcc...

c++pthreadsshared-memorystdatomic

Read More
Is this atomic implementation of fetch_mult correct?...

c++thread-safetylock-freeatomicstdatomic

Read More
Invalid use of incomplete type (for a pointer to atomic integer variable)...

c++pointersincomplete-typestdatomic

Read More
Could this publish / check-for-update class for a single writer + reader use memory_order_relaxed or...

c++atomiclock-freememory-barriersstdatomic

Read More
C++ shared_mutex implementation...

c++multithreadingc++11mutexstdatomic

Read More
Avoiding deadlock in concurrent waiting object...

c++c++14mutexcondition-variablestdatomic

Read More
Fast synchronized access to shared array with changing base address (in C11)...

concurrencysynchronizationschedulingc11stdatomic

Read More
What are the correct memory orders to use when inserting a node at the beginning of a lock free sing...

c++c++17lock-freememory-barriersstdatomic

Read More
How to multiply two values and store the result atomically?...

c++multithreadingconcurrencyatomicstdatomic

Read More
When do I really need to use atomic<bool> instead of bool?...

c++c++11atomicstdatomic

Read More
Can relaxed memory order be used to observe a condition?...

c++atomicmemory-barriersmemory-modelstdatomic

Read More
writing to std::atomic after converting to char*...

c++reinterpret-castmemory-layoutstdatomic

Read More
x86 relaxed ordering performance?...

c++c++11x86memory-modelstdatomic

Read More
Memory order consume usage in C11...

cmultithreadingc11stdatomic

Read More
Memory order introduced by atomic_exchange_explicit/atomic_exchange...

cmultithreadingconcurrencystdatomic

Read More
Does Non-atomic struct modification via _Atomic pointer produce data-race?...

cmultithreadingconcurrencystdatomicdata-race

Read More
Assigning pointers to atomic type to pointers to non atomic type...

cconcurrencylanguage-lawyerc11stdatomic

Read More
Initializing an atomic_flag...

catomicc11stdatomicatomicinteger

Read More
How do you create a std::pair containing a std::atomic?...

c++stdatomicstd-pairstdatomic

Read More
Is mov + mfence safe on NUMA?...

c++x86memory-modelnumastdatomic

Read More
update integer array elements atomically C++...

c++11thread-safetystdatomic

Read More
BackNext