boost.lockfree: avoid unnecessary loads in stack and freelist
commit74bf7a3f2bf516e9c0aeb9d00fdecaee62323f11
authorTim Blechmann <tim@klingt.org>
Fri, 23 Jul 2010 16:40:26 +0000 (23 18:40 +0200)
committerTim Blechmann <tim@klingt.org>
Fri, 23 Jul 2010 16:40:26 +0000 (23 18:40 +0200)
tree6939ee190e9f9b772594a0a6fc7ce34ab848dae5
parentfa6ac826ccf6899b4bfdae0f98bd18d413e1f637
boost.lockfree: avoid unnecessary loads in stack and freelist

compare_exchange_strong updates the old value in case of a failure

Signed-off-by: Tim Blechmann <tim@klingt.org>
boost/lockfree/detail/freelist.hpp
boost/lockfree/stack.hpp