[CVS] pidfile support
rjs3 at andrew.cmu.edu
Tue Dec 17 12:52:58 EST 2002
On Tue, 17 Dec 2002, Henrique de Moraes Holschuh wrote:
> Kludgy it is :P but using kill to detect the presence of a process is
> actually reasonably portable AFAIK, and safe :-)
Well, yeah, it looked ugly enough to be portable. ;)
> > I think this works no matter how the things are interleaved after forking.
> I like it. It also allows us to keep [A] around for a little while if we
> wish to do so, to detect startup errors of other sorts...
Okay, I've committed this. Take a look and let me know what you think.
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
More information about the Info-cyrus