2 ms·
> Well-written spinlocks are absurdly fast They're fast if there's low contention. If you have high contention then they burn CPU cycles needlessly and can be
by magicalhippo 7y ago
> Well-written spinlocks are absurdly fast
They're fast if there's low contention. If you have high contention then they burn CPU cycles needlessly and can be significantly slower than something more clever like Windows' CriticalSection.