Commit Graph

8 Commits

Author SHA1 Message Date
Nicolas Williams b48bed5f42 Daemons detach atomically to avoid having to wait
Tests that start daemons have to "wait" for them to start.

This commit makes Heimdal daemons prep to detach (when requested) by
forking early, then having the child signal readiness to the parent when
the child really is ready.  The parent exits only which the child is
ready.  This means that tests will no longer need to wait for daemons.

However, tests will still need a pidfile or such so they can stop the
daemons.

Note that the --detach options should not be used on OS X from launchd,
only from tests.
2015-03-24 11:49:59 -05:00
Asanka Herath d00f9984a5 Make roken build on windows
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-11-24 21:42:02 -08:00
Love Hörnquist Åstrand 0d31d3d686 drop rcsid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:30:37 +00:00
Love Hörnquist Åstrand 709aa58c74 define ROKEN_LIB_FUNCTION on all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Love Hörnquist Åstrand cd6d1bcf87 In 1997, the University of California, Berkeley issued a statement
retroactively relicensing all code held under their copyright from a
4-clause 'traditional' BSD license to a new 3-clause 'revised' BSD
license, which removed the advertising clause.

From NetBSD, via Joel Baker, and Alistair G. Crooks


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:57:46 +00:00
Johan Danielsson c0896c4709 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3581 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-04 21:55:48 +00:00
Assar Westerlund abff0b80c6 _PATH_DEVNULL needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1783 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-28 05:38:09 +00:00
Assar Westerlund 4c995e830f added daemon
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1782 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-28 05:23:39 +00:00