News for hackers. Stuff that matters.
Re:Measuring mutexes, spinlocks and how bad the Linux schedu... by trasz on Tuesday December 31, 2019 @03:33PM (#21924487)
And that’s precisely what most operating systems other than Linux do: use adaptive mutexes as the default mechanism, not spinlocks.
Re:Measuring mutexes, spinlocks and how bad the Linux schedu... by gpderetta on Wednesday January 01, 2020 @06:09AM (#21927596)
Pthread_mutex on linux is also an adaptive mutex, although the spinning count might not be optimal.