pub fn set_fds_cloexec_threadsafe(minfd: c_int, keep_fds: &[c_int])Expand description
Equivalent to set_fds_cloexec(), but behaves more reliably in multithreaded programs (at the
cost of decreased performance on some platforms).
This is equivalent to
CloseFdsBuilder::new().keep_fds(keep_fds).threadsafe(true).cloexecfrom(minfd).
See CloseFdsBuilder::cloexecfrom() and FdIterBuilder::threadsafe() for more information.