On 17/03/14 07:59 AM, John Mija wrote: > Is possible to fork/daemonize in Rust? Without problems due to the > interaction between fork(2) and threads.
Forking in a daemon is only useful as a way to signal when the service is ready. A socket-activated daemon would be the modern way of doing it, as it will be faster and far easier to do correctly. If it's not a service that other programs will depend on or that will receive connections, then there's not really a reason to do either.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
