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
I would recommend using io::process with the detach option set to true
rather than invoking fork(). The green runtime is not fork-safe, and
at this time we're not guaranteeing that the native runtime is
fork-safe.
On Mon, Mar 17, 2014 at 4:59 AM, John Mija wrote:
> Is possible to fork/daemonize i
Is possible to fork/daemonize in Rust? Without problems due to the
interaction between fork(2) and threads.
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev