Comment Comment by alexlarsson Yeah, and then some other thread opens a file descriptor while your loop is busy closing the last few file descriptors...CLOEXEC approaches are the only race free solutions. parent alexlarsson 14 years ago
CLOEXEC approaches are the only race free solutions.