Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repeat black list check on CAS fail in stack_push_explicit_aux_release
(a cherry-pick of commit ae0f8e7 from 'release-7_4') Also, execute the first read in a loop with an acquire barrier, and place black list checking as close to CAS as possible. * src/atomic_ops_stack.c [AO_USE_ALMOST_LOCK_FREE] (AO_stack_push_explicit_aux_release): Use acquire barrier to read list value (stored to next local variable); read list value and store it to x element before iterating over AO_stack_bl (and, thus, retry iterating over AO_stack_bl if CAS failed).
- Loading branch information