For the michael scott queue, follow the exact implementation of Paper:
Michael, Maged M. "Hazard pointers: Safe memory reclamation for lock-free objects." Parallel and Distributed Systems, IEEE Transactions on 15.6 (2004): 491-504. Might fix bug, where the MPMC queue hang (very very spuriously), because tail->GetNext() == tail...
Showing
Please
register
or
sign in
to comment