Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in stdatomic

Does this transitive happens-before use case need sequential consistency or will acquire/release suffice?

Why is acquire semantics only for reads, not writes? How can an LL/SC acquire CAS take a lock without the store reordering with the critical section?

Release-Consume ordering for reference counting

Implementing 64 bit atomic counter with 32 bit atomics

atomic compare and conditionally subtract if less

c++ x86 atomic stdatomic

Why do left operands of logical AND/OR not carry dependency to the parent evaluation?

What exactly is Synchronize-With relationship?

Does C++ `memory_order_seq_cst` guarantee load of other variables in the current thread?

Can't compile libpd with emmake (Emscripten SDK)

What is the right std::atomic memory order for dynamic scheduling?

C11 memory model -- two threads execute atomic_fetch_add followed by atomic_load -- what output is possible?

Is there a way to have a version of std::atomic's compare_exchange_strong method that exchanges on inequality?

g++ std::variant seems can't support user class with std::atomic/std::mutex variable member (with detail/code)

C++20 std::atomic<float>- std::atomic<double>.specializations

Why does the thread sanitizer complain about acquire/release thread fences?

What are the correct memory orders to use when inserting a node at the beginning of a lock free singly linked list?

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

In C++, is there any effective difference between a acquire/release atomic access and a relaxed access combined with a fence?

Red Hat: using <atomic> compiles fine but linker can't find __atomic_store_16; what library?