id summary reporter owner description type status milestone component version severity resolution keywords cc 7403 lockfree support in MSVC 2012 Zouzou timblechmann "Hi, MSVC 2012 has atomics; it therefore allows boost.lockfree to be used with it. Using boost.atomic on MSVC is not an option because it falls back to interlocked functions (not lock-free). Here is a simple patch for lockfree's atomic.hpp showing the necessary changes: - don't define BOOST_LOCKFREE_NO_HDR_ATOMIC in order to use , not . - remove the (__cplusplus < 201103L) check because __cplusplus is defined to 199711 on MSVC 2012... There is an additional change in freelist.hpp: include (it was being included by ). With these changes lock-free lists seem to be working fine! :) (I verified that is_lock_free() does return true.) Feel free to adjust the patch of course; this is just to show what is required to make boost.lockfree truly lock-free on MSVC 2012. I'm available for any further questions. Thanks for adding atomic & lockfree. :) Zouzou" Bugs closed To Be Determined lockfree Boost 1.52.0 Problem fixed