The Basics of Lock-free Programming
Offered By: CppNow via YouTube
Course Description
Overview
Dive into the fundamentals of lock-free programming in this comprehensive conference talk. Begin with the basics of shared data access problems and progress to advanced lock-free solutions. Explore atomicity concepts, the CAS instruction, and CAS-loops. Examine the Double-Checked-Locking Pattern (DCLP) pitfalls and learn how to avoid them using memory barriers. Gain insights into multi-CPU operations through an understandable model based on read-request and write-request queues. Study the implementation of a lock-free stack and understand the ABA problem along with its prevention techniques. Get a glimpse of cutting-edge developments in lock-free programming, including optimistic relaxed memory operations. Conclude by exploring how Boost and C++0x impact the future of lock-free programming.
Syllabus
Tony Van Eerd: The Basics of Lock-free Programming
Taught by
CppNow
Related Courses
Your Favorite Undefined Behavior in C++CppNow via YouTube Under the Hood - Assembly, System Calls, and Hardware in C++
CppNow via YouTube Carbon Language Successor Strategy - From C++ Interop to Memory Safety
CppNow via YouTube Value Oriented Programming Part 1 - You Say You Want to Write a Function
CppNow via YouTube Introducing a Memory-Safe Successor Language in Large C++ Code Bases
CppNow via YouTube