[llvm] r219189 - Support: Don't call close again if we get EINTR
rafael.espindola at gmail.com
Thu Feb 19 18:44:33 PST 2015
> Most Unix-like operating systems guarantee that the file descriptor is
> closed after a call to close(2), even if close comes back with EINTR.
> For these systems, calling close _again_ will either do nothing or close
> some other file descriptor open(2)'d by another thread. (Linux)
Should we add an ifdef to avoid the sigmask dance on linux (and *BSD?)?
More information about the llvm-commits