One line. Many voicesSeek and you shall find

www.tedkoomen.com faviconThreads, Mutexes, and Atomics: Start With What Can Go Wrong

kept by

Understanding data races, mutex implementation on Linux, and atomic pitfalls (ABA, false sharing) shows that replacing mutexes with atomics is not automatically an optimization.

read later

For all the tabs you promised to read.
Save to read. Read to clear.

Close tabs. Keep links.