]> granicus.if.org Git - libatomic_ops/commit
Allow to select almost-non-blocking stack implementation explicitly
authorIvan Maidanski <ivmai@mail.ru>
Tue, 19 Dec 2017 08:46:06 +0000 (11:46 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 22 Dec 2017 07:46:14 +0000 (10:46 +0300)
commit339d403ce9175989b1cff8a3cf633b26626b77cd
tree739ee125dcdd437d59a1b0695a85cf9520dce83a
parent001b2756b36f38d04e5fcf1f4c80b961683a8f77
Allow to select almost-non-blocking stack implementation explicitly

This could be used e.g. if built-in double-word CAS has some bug.

* src/atomic_ops_stack.h (AO_STACK_IS_LOCK_FREE): Do not define if
AO_USE_ALMOST_LOCK_FREE is explicitly defined (outside).
src/atomic_ops_stack.h