This license is the wrong license if you've re-implemented it.

I'm certainly no lock-free expert, so to me this queue looks correct, but I don't consider myself qualified to officially say so. Do you know of any external implementations of this flavor of queue that I could look at as well? Any literature/papers would also be a good reference point.