[tor-dev] start_daemon and finish_daemon

Zack Weinberg zackw at panix.com
Thu Jun 14 02:03:50 UTC 2012


On Wed, Jun 13, 2012 at 9:52 PM, Nick Mathewson <nickm at alum.mit.edu> wrote:
>
>  * The parent process can learn about and report some common kinds of
> initialization failure, and
>  * The parent process doesn't exit until the child is well and truly launched.

Thanks, that makes a lot of sense.

I ask because I was using util.c as a reference for adding daemon mode
support to Stegotorus; I might adopt a similar scheme (there are
similar initialization-sequencing headaches) but probably not till I
get around to the badly-needed Real Command Line Parser.

zw


More information about the tor-dev mailing list