How to implement C++26 RCU

Denis Yaroshevskiy

This talk

  • TODO LINK
  • Paul McKenney, Yedidya Feldblum
  • motivational example
  • trivial buggy implementation
  • lowlevel concurrency in C++
  • improvements
  • retire
  • brief on hazard pointers

Motivational Example

Atomic Shared Ptr

Raw pointer

alternative to a single ref count