MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1w6us70/optimizing_a_spinlock/p7r7tsi/?context=3
r/cpp • u/pavel_v • Sep 04 '26
31 comments sorted by
View all comments
Show parent comment
5
Fully agreed, thanks for the explanation. Spin locks are specially useful in fully controlled envrionments, with 1:1 mapping between threads and physical cores
View all comments
Show parent comment
5
u/david-alvarez-rosa Sep 04 '26
Fully agreed, thanks for the explanation. Spin locks are specially useful in fully controlled envrionments, with 1:1 mapping between threads and physical cores