aba Questions

1

Solved

In the book C++ Concurrency in Action, the author gave an example of using hazard pointer to implement a lock-free stack data structure. Part of the code is as follows: std::shared_ptr<T> po...
Bedell asked 14/2, 2018 at 9:26

1

Solved

I am implementing a lock-free queue based on this algorithm, which uses a counter to solve the ABA problem. But I don't know how to implement this counter with c++11 CAS. For example, from the algo...
Argon asked 16/8, 2016 at 20:44
1

© 2022 - 2024 — McMap. All rights reserved.