akors / atomic_queue

DO NOT USE! This is a FAILED attempt for a thread-safe and lock-free implementation of the First-In-First-Out data structure pattern in C++
6 stars 1 forks source link

ABA Problem #1

Open filly86 opened 10 years ago

filly86 commented 10 years ago

Is your queue affected by the ABA-Problem?

fat-lobyte commented 10 years ago

Yes, yes it is. So this is not only a question but an issue. However, I do not plan on fixing it, I think the whole concept of my class is broken. Sorry about that.

akors commented 6 years ago

This implementation suffers from the ABA problem!

https://en.wikipedia.org/wiki/ABA_problem

Please don't use for production.