
You may wonder that I create a boost::lockfree library. Yes, the name of "boost::lockfree" is from you proposal. I am interested in it, and write a stack class. There is no other stuffs, because boost-memory library only need a lock-free stack. And I'm willing to contribute to lockfree library.
well, i hope, you use the stack in a manner, that the limitations (aba problem, memory reclamation) are not an issue ...
i would be in favor of a safe implementation of a stack, though ... i have a version of a stack, using the pass-the-buck algorithm, which i intended to port to boost.lockfree ... maybe i find some time to do so in the next few days ...
here you go: http://tim.klingt.org/git?p=boost_lockfree.git;a=summary lockfree stack with aba prevention and freelist ... cheers, tim -- tim@klingt.org http://tim.klingt.org The composer makes plans, music laughs. Morton Feldman