Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in compare-and-swap

What's the effect of "private static final VarHandle PENDING" in CountedCompleter class

Is OSCompareAndSwap (Mac OS X) equivalent to CMPXCHG8B?

compareandexchange() vs compareandset() of Atomic-Integer

Better way in C++ to keep a big plain struct atomic?

compareAndSet on processors that does not support CAS operation

nonblocking stack in java [closed]

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?

Why does std::atomic_compare_exchange update the expected value?

CountingElements solution

How does CMPXCHG affect FLAGS register?

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

how to prevent corruption in concurrent lifo stack implemented with atomic compare and swap

Do atomic CAS-operations on x86_64 and ARM always use std::memory_order_seq_cst?

Why does GCC pad this bit-field?

Should std::atomic<int*>::load be doing a compare-and-swap loop?

compareAndSet memory effects of unsuccessful operations