'For lock-free programming, is boost::lockfree:: a more feasible option than C++ atomics?

I'm wondering if making threaded code lock-free is better done using boost::lockfree. Really, I don't want to introduce anything other than standard C++ into the code. Since boost::lockfree:: already includes data structures it might be worth implementing lock-free threading using Boost.

Any feedback will be appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source