It is possible, but not problematic, because the compare_exchange
call will detect it and discard new_counter
.
↧
Answer by Ben Voigt for Lock-free stack with reference counting
↧
It is possible, but not problematic, because the compare_exchange
call will detect it and discard new_counter
.