|
|
|
|
|
by eridius
3369 days ago
|
|
> Also, wouldn't e.g. Homebrew also get those problems if you compile against the new SDK? Yes, but nearly all Homebrew software is cross-platform unix software, so that software will already have to deal with having unfair mutexes on Linux. > … pthreads is a standard - if the article's right, and POSIX doesn't mandate fairness … It doesn't mandate fairness, but it doesn't mandate unfairness either. Apple platforms defaulting to fair is no less conforming than Linux defaulting to unfair. |
|
Of course, but it makes it less performant in many situations, while you can't count on that feature if you're coding against the standard (i.e. if for cross platform development; hence OP's blogpost). Which - in turn - explains why people are complaining about the performance, since they need to guarantee the fairness themselves anyway if they really need it.
On the other hand: If you're only coding against OSX, having the fairness in an extension shouldn't be a problem anyway.
Of course, this then facilitates other problems, if the standard is not evolving fast enough (the whole OpenGL extension mess would be a good example).