lockfree: rework the use of weak and strong compare_exchange
commit52352a0f0489309044e6a9168f768b3285dbd76c
authorTim Blechmann <tim@klingt.org>
Sun, 22 May 2011 15:48:10 +0000 (22 17:48 +0200)
committerTim Blechmann <tim@klingt.org>
Sun, 22 May 2011 15:48:10 +0000 (22 17:48 +0200)
tree382befba83e7279be257eb1706dcf4f294380039
parent9e4b2287c0b81b57b4091f265ed9c3a7687b0857
lockfree: rework the use of weak and strong compare_exchange

use compare_exchange_strong only if we ignore the return value

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