summaryrefslogtreecommitdiff
path: root/src/atomic_ops_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atomic_ops_stack.c')
-rw-r--r--src/atomic_ops_stack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/atomic_ops_stack.c b/src/atomic_ops_stack.c
index eae78c1..379adbf 100644
--- a/src/atomic_ops_stack.c
+++ b/src/atomic_ops_stack.c
@@ -198,12 +198,11 @@ AO_API AO_t *AO_stack_next_ptr(AO_t next)
AO_pause(++j);
}
}
- assert(i < AO_BL_SIZE);
# ifndef AO_THREAD_SANITIZER
assert(a -> AO_stack_bl[i] == first);
/* No actual race with the above CAS. */
# endif
- /* First is on the auxiliary black list. It may be removed by */
+ /* first is on the auxiliary black list. It may be removed by */
/* another thread before we get to it, but a new insertion of x */
/* cannot be started here. Only we can remove it from the black */
/* list. We need to make sure that first is still the first entry */