Get the latest tech news

Optimizing a Spin-Lock


A spin-lock is a lock that never sleeps. Instead of yielding to the scheduler, the thread stays on the CPU and spins. No syscalls. No context switches. In this …

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of lock

lock

Related news:

News photo

Apple releases updated Magic Keyboard with glyphs for tab, caps lock, shift, return, and delete keycaps

News photo

LibreOffice Once Again Slams Microsoft For Using 'Lock-In' With Office Files

News photo

How proprietary formats have become Microsoft’s main tool for lock-in