Optimizing a Spin-Lock

·Hacker News··

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 …

Read full article →

Related Articles

The case against JPEG XL
contact9879 · Hacker News · 21h ago
Apple's Siri AI Can Be Swapped Out for Claude, ChatGPT, Code Shows
tosh · Hacker News · 10h ago
Why are AI agents lying, cheating and coordinating?
jonifico · Hacker News · 1d ago
Why don't machine learning research agents overfit?
Betelbuddy · Hacker News · 6h ago
Distributed Systems Classics (2017)
grep_it · Hacker News · 6h ago