From: Rob McCool <robm@netscape.com> Newsgroups: netscape.devs-nsapi Subject: Re: sharing db connection in NSAPI Date: Thu, 24 Oct 1996 16:13:06 -0700 > So you mean the function registered by daemon_atrestart will be called > not only whenever server daemons restart, shut down, but also whenever > child daemons start (after fork) ?It will be called by the base process only, after it forks to detach itself from the console, but before it starts forking children. The child processes will not call the daemon_atrestart functions.
> And what's different between magnus_atrestart() and > daemon_atrestart() ?
Nothing in particular, but the name was changed to reflect a movement of the implementation.
-- Rob McCool, robm@netscape.com http://home.netscape.com/people/robm/ Stunt Programmer, Netscape Communications Corporation It was working ten minutes ago, I swear...Reproduced by permission of the author.