by antirez · 1y ago · 0 comments
If you want this behavior, it's relatively simple to implement your own mutex on top of futex, but no one is going to expect the behavior it provides.
Related: https://man7.org/linux/man-pages/man2/futex.2.html#:~:text=%...