Quantcast
Channel: atomic load/store
Viewing all articles
Browse latest Browse all 7

atomic load/store

$
0
0
If I remove the sdata global and just accumulate the i values it will complete as expected in 3s in both cases. If it had smth to do w context switching that version would be slow as well right? I also need/want to have both threads run simultaneously, with identical priorities. Any other ideas? 

Viewing all articles
Browse latest Browse all 7

Trending Articles



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