Re:A Close Look at a Spinlock
by secondcoming on Saturday November 06, 2021 @08:33PM
(#29135247)
The kernel knows about mutexes, and so the thread waiting on the lock won't be scheduled again until the mutex has been released. Whether the lock can be acquired depends on the scheduler and how many other threads are waiting on the same lock.
[ Parent
| on HN ]
There are no comments on this comment yet.