News for hackers. Stuff that matters.
Re:POSIX close(2) is broken by FrankBooth on Saturday December 17, 2011 @05:07AM (#3363942)
What if the other thread opens the same file?
Re:POSIX close(2) is broken by 1amzave on Saturday December 17, 2011 @05:13AM (#3363948)
True, hadn't thought of that. (Seems obvious in retrospect, of course.)

It's almost tempting to try to differentiate that with st_atime, but I don't think there's any way that could be reliable (especially given noatime mounts and such).