Hacker News new | ask | show | jobs
by shin_lao 2363 days ago
Most mutexes implementations spin before truly acquiring the lock.

Also, there are better spinlock implementations, such as speculative spinlocks, and queued locks.