On Tue, Jan 08, 2002 at 08:09:26AM +0100, Michael Gerner Andreasen wrote:
> > I haven't looked at the relevant snippets, so I'll just post what mine
> > does.  I'm sure it's similar.
> 
> Please do so 8=)
> 
> > I set the signal to SIG_DFL as soon as it's caught, fork a new process,
> > then raise the signal again in the parent.
> 
> Looks good to me, but what does DFL meane? cant say i have used that
> one befoure?

Man signal, like what has been said here a couple of times.
It's the default signal handler.

> > The new process goes on to save everything and do a soft boot, the parent
> > just dies, leaving a core file.
> 
> If you do a fork, does every thing in memory stays the same, but you just 
> restart
> from main?

Man fork. It creates two identical processes (from the user point
of view). All memory is duplicated, all filedescriptors are
duplicated, all sockets are duplicated etc.

Edwin

-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED] |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

Reply via email to