Search code examples
Is std::atomic<std::weak_ptr<>>::compare_exchange_* guaranteed to work if the underlying...


c++multithreadingatomiccompare-and-swapweak-ptr

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


c++multithreadingatomicstdatomiccompare-and-swap

Read More
Memory Barrier Vs CAS...


javacpu-architectureatomicmemory-barrierscompare-and-swap

Read More
How does the inline assembly in this compare-exchange function work? (%H modifier on ARM)...


gccarminline-assemblycompare-and-swap

Read More
C++ atomics Correct memory order and thread fencing for a shared_ptr implementation...


c++multithreadingsmart-pointersstdatomiccompare-and-swap

Read More
Why does std::atomic_compare_exchange update the expected value?...


c++multithreadingcpu-architectureatomiccompare-and-swap

Read More
How to implement a SpinLock...


rustconcurrencycompare-and-swapspinlock

Read More
Is my code thread-safe? [Java, CAS, money transfer]...


javaconcurrencynonblockingcompare-and-swap

Read More
Are _Atomic members of unions a good idea?...


cunionatomiccompare-and-swap

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


c++atomiclock-freestdatomiccompare-and-swap

Read More
Why is CompareAndSwap instruction considered expensive?...


multithreadingsynchronizationcpu-architecturemulticorecompare-and-swap

Read More
Is it good idea to use atomic boolean in kotlin?...


kotlinconcurrencycompare-and-swapatomic-values

Read More
What does this compare_exchange_weak example loop do, on atomic boolean, from a talk about the diffe...


c++loopsatomicstdatomiccompare-and-swap

Read More
Is x86 CMPXCHG atomic, if so why does it need LOCK?...


concurrencyx86atomiclock-freecompare-and-swap

Read More
Is Interlock.CompareExchange atomic inside an if statement?...


c#multithreadingthread-safetycompare-and-swapinterlocked

Read More
Using most significant bits of pointers as a tag in non-blocking queue c++...


c++pointersnonblockingcompare-and-swapconcurrent-queue

Read More
What is Compare And Swap good for?...


c#cassemblythread-safetycompare-and-swap

Read More
C++ atomics using memory_order_acquire without a matching memory_order_release...


c++multithreadingatomicmemory-barrierscompare-and-swap

Read More
Is cache coherency only an issue when storing and not when loading?...


cachingconcurrencyx86cpu-architecturecompare-and-swap

Read More
How to "mark" pointers by setting the last bit to 1?...


cpointersbitwise-operatorsnonblockingcompare-and-swap

Read More
When should std::atomic_compare_exchange_strong be used?...


c++c++11atomicstdatomiccompare-and-swap

Read More
C++: Atomic Tagged pointer with 16-bit counter in upper bits, can't seem to increment the counte...


c++bit-manipulationatomicbitwise-operatorscompare-and-swap

Read More
Why in my code cpp compare_exchange_strong updates and return false...


c++debuggingatomicstdatomiccompare-and-swap

Read More
What is the difference between the 'Compare And Swap' and 'Compare And Set' operatio...


javaalgorithmassemblycompare-and-swap

Read More
How does "Compare And Set" in AtomicInteger works...


javamultithreadingvolatilecompare-and-swapatomicinteger

Read More
Is a combination of atomic CAS for 64 and 32 bit ok?...


cudacompare-and-swapgpu-atomics

Read More
Concurrency vs parallelism in Golang...


goconcurrencyparallel-processingatomiccompare-and-swap

Read More
Why the Semaphore implementation uses CAS (U.compareAndSetInt) instead of wait/notify?...


javasemaphorejava.util.concurrentcompare-and-swap

Read More
what atomicity does compare_exchange_weak provide?...


c++compare-and-swap

Read More
CUDA customized atomicCAS for floating point types (like double)...


c++cudaatomiccompare-and-swap

Read More
BackNext