Optimizing a Spin-Lockdavid.alvarezrosa.com 6 pointssigna117 hours ago1 commentSaveHideCopy link On HNComments−dalvrosa7hThanks for sharing! Happy to get feedback :)Note that I don't recommend spinlock for most cases, only when there is a 1:1 mapping between threads and phsycal CPU cores, and only after measuring
Comments
Thanks for sharing! Happy to get feedback :)
Note that I don't recommend spinlock for most cases, only when there is a 1:1 mapping between threads and phsycal CPU cores, and only after measuring