Re:POSIX close(2) is broken
by JoeAltmaier on Saturday December 17, 2011 @08:03AM
(#3364168)
Which mutex? What about threads you don't 'own', inside libraries for instance? I don't think you will be able to find "one ring to rule them all"
[ Parent
| on HN ]
Oh if they use the close direct, too bad. But libraries that launch the starships behind your back with no control left to you are also not the best gift.
Standard's bug aside, I wonder how the practical implementations behave. Is this condition reproducible ?