Re:A collection of lock-free data structures written in stan...
by kevincox on Wednesday May 10, 2023 @08:57AM
(#35886664)
Definitely not. I don't think there any many standard libraries that use syscalls for every lock. It is near universal to attempt a lock in user space (maybe even spin a few times) and only call the kernel if you need to wait. So low-contention locks should very rarely make a syscall.
[ Parent
| on HN ]