2 ms·
You are making a big assumption that threads will be woken up in the first place. Also when it comes to concurrency it is all about scaling, and whatever scale
by CyberDildonics 11y ago
You are making a big assumption that threads will be woken up in the first place.
Also when it comes to concurrency it is all about scaling, and whatever scales will perform better as there are more cores.
- biokoda 11y agoI never said spinlocks are better in every situation. I'm saying they are better in this situation (SPSC queue).
- CyberDildonics 11y agoI didn't say that you said that. Why would spinlocks be better than no locks at all?