On Wed, Oct 6, 2010 at 10:58 AM, Iustin Pop <[email protected]> wrote: > Currently, GenericMain does a two-staged workflow: > > - Check, before forking > - then Exec, after forking > > This means we don't have any possibility to treat preparation work > (before the daemon is ready for work) different from the actual work. > > The patch adds another PreExec function that is run just before Exec, > and which should ensure that the daemon is ready for serving client > before it returns. Its result is then sent as the third argument to > Exec.
LGTM Thanks, Guido
