Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in compare-and-swap

Don't really get the logic of std::atomic::compare_exchange_weak and compare_exchange_strong

How can I prevent undefined behavior and the ABA issue in this lock-free stack function?

Cross-platform Support for 128-bit Atomic Operations in Clang (Compare-And-Swap or Equivalent)

CMPXCHG – safe to ignore the ZF flag?

Should Interlocked.CompareExchange also a volatile variable?

AVX512 Compare and Swap

python re-arrange elements in a list based on the sublist values

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?