You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because libc's daemon() forks and then exits in the parent, only the thread that calls daemon() will survive in the child. Usually this means that one would only want to call daemon() from a single-threaded process. I am not certain whether it makes nix::unistd::daemon unsafe, but it seems like noting it in some way in the documentation would be a good idea.