Been wondering about fork and abort.
if i fork a process, can i abort and dump a core of the parent?
I'm trying to do crash/segviolation handling, while that is farily easy with the copyover/hotboot code, but i would like to have any crashes dump a core file too.
I figure if i do:
if (fork())
{
abort();
} else {
// code
}
Or will that kill both things?
if i fork a process, can i abort and dump a core of the parent?
I'm trying to do crash/segviolation handling, while that is farily easy with the copyover/hotboot code, but i would like to have any crashes dump a core file too.
I figure if i do:
if (fork())
{
abort();
} else {
// code
}
Or will that kill both things?