|
|
|
|
|
by robertgraham
4862 days ago
|
|
My blog post was quite clear that I'm talking about futexes, and then when it fails to get a lock that it goes into the kernel. Seriously, that's how everyone did it from Solaris to Windows before Linux "invented" the concept AND it's been in Linux for a decade. When somebody says "mutex", you have to assume they already mean "futex". |
|
True, there are scenarios when you might prefer to spin, but they're pretty specialized.
My blog post was quite clear that I'm talking about futexes
No, you never mention the word "futex."
When somebody says "mutex", you have to assume they already mean "futex".
I don't think that's a valid generalization at all.