
Read-copy-update (RCU)
Read-copy-update is strong in multithreading environments where a data structure is read almost exclusively…

atomic<shared_ptr<>> by Oliver Schädlich
This blog article is an experiment. A few days ago, I received the following email (translated from…

Hazard Pointers in C++26
Hazard pointers provide garbage collection in C++ and solve the ABA problem.
First of all. What…

A Lock-Free Stack: A Hazard Pointer Implementation Explained II
In my last post, I started to explain a hazard pointer implementation: A Lock-Free Stack: A Hazard Pointer…

A Lock-Free Stack: A Hazard Pointer Implementation Explained I
In my last post, I presented a hazard pointer implementation: A Lock-Free Stack: A Hazard Pointer Implementation.…

A Lock-Free Stack: A Hazard Pointer Implementation
Hazard Pointers solve all issues of the previous implementation: A Lock-Free Stack: A Simple Garbage…

A Lock-Free Stack: A Simple Garbage Collector
My next lock-free stack includes a simple garbage collector.
I discussed the concurrent execution…

A Lock-Free Stack: Atomic Smart Pointer
The easiest way to solve this memory leak issue from the last post is to use a std::shared_ptr.
Atomic…

A Lock-Free Stack: A Complete Implementation
My last lock-free stack implementation was incomplete. It only supported push operations. Let's change…

My Next Mentoring Program: “Generic Programming (Templates) with C++” starts
/
0 Comments
My next mentoring program, "Embedded Programming with Modern C++," starts on January 31st. Registration…