← 返回事件
持续讨论科技

Optimizing a Spin-Lock

图:Lobsters

发生了什么

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 …

摘要按规则整理自下方来源原文

为什么在扩散

来源

社区讨论