Wait-Free Hazard Pointers Using Std Atomics(threadnought.wordpress.com) |
Wait-Free Hazard Pointers Using Std Atomics(threadnought.wordpress.com) |
Wait-free is interesting more from an academic point of view in that you can use hazard pointers to implement wait-free algorithms and still claim they are wait-free.
While one of them is 50% faster than lock-free hazard pointers, probably due to not having a conditional branch, the latter is pretty fast already.