Quantcast
Channel: Lock-free stack with reference counting - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Ben Voigt for Lock-free stack with reference counting

$
0
0

It is possible, but not problematic, because the compare_exchange call will detect it and discard new_counter.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>