/* stack_ptr) and GC_push_all_stacks (fetching stack_ptr) because */
/* GC_push_all_stacks is executed after GC_stop_world exits and the */
/* latter runs sem_[try]wait repeatedly waiting for all the suspended */
- /* threads to call sem_post. At the same time, stack_ptr is stored */
- /* (here) and fetched (by GC_push_all_stacks) atomically to avoid the */
- /* related TSan warning. */
+ /* threads to call sem_post. Nonetheless, stack_ptr is stored (here) */
+ /* and fetched (by GC_push_all_stacks) using the atomic primitives to */
+ /* avoid the related TSan warning. */
# ifdef SPARC
AO_store((volatile AO_t *)&me->stop_info.stack_ptr,
(AO_t)GC_save_regs_in_stack());