Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Mutexes are faster than Spinlocks. Parent comment
I would imagine the unlocking call would wake up the sleeping thread so it won't keep waking up periodically.
The user-mode only implementation sounds interesting. The only downside is it won't work with inter-process locking.
There are no comments on this comment yet.
I would imagine the unlocking call would wake up the sleeping thread so it won't keep waking up periodically.
The user-mode only implementation sounds interesting. The only downside is it won't work with inter-process locking.