_Atomic
Published in Apress eBooks • Jan 1, 2025
NobleIDNI9P16W08R80S91
Authors:
Paul J. Lucas
Abstract
C has the _Atomic keyword that allows the creation of atomic variables that can be used instead of mutexes in some cases for lock-free yet still thread-safe multithreaded programming. This chapter covers the _Atomic keyword, atomic library functions, memory barriers, compare-and-swap, lock-free oper...
Finding related papers...
Discussions
(0)No comments yet
Be the first to share your thoughts!