Function close_fds::set_fds_cloexec_threadsafe [−][src]
pub fn set_fds_cloexec_threadsafe(minfd: c_int, keep_fds: &[c_int])
Equivalent to set_fds_cloexec(), but behaves more reliably in multithreaded programs (at the
cost of decreased performance on some platforms).
See iter_open_fds_threadsafe() for more details on what this means.