Re:A Close Look at a Spinlock
by CyberRabbi on Saturday November 06, 2021 @08:28PM
(#29135223)
Google for how the Linux Futex works. In short it's done by task switching after double checking the spinlock is still held. The kernel can do such a thing without the threat of a race condition because it can ensure no other task is running that would modify the spinlock state.
[ Parent
| on HN ]
There are no comments on this comment yet.