Overview
Explore the intricacies of implementing a lock-free std::atomic std::shared_ptr in this comprehensive conference talk from ACCU 2022. Delve into the motivation behind atomic shared pointers, review the inner workings of std::shared_ptr, and trace the history of std::atomic std::shared_ptr in C++20. Examine existing implementations and various strategies, culminating in the presentation of a new, portable, lock-free atomic shared_ptr implementation. Gain valuable insights into thread-safety, control blocks, and the challenges of creating efficient smart pointers for low-latency and real-time applications in modern C++ programming.
Syllabus
A lock-free std::atomic std::shared_ptr - Timur Doumler - ACCU 2022
Taught by
ACCU Conference