Thanks Jeroen,
Somewhere in my quest to solve this issue, I read to first
unset the child signal with
$SIG{CHLD} = 'IGNORE'; ## Children die unnoticed ...
and then in the child use
setsid or die $!;
which supposedly immediately dissociates the child from the
mother, which means the mother
hi
no- fork YOU and die ...
( 03.10.07 12:31 +0100 ) tvilliers:
I have a mother process which needs to fork off a child at every x
milestone.
Now, the mother has an open database handle, which from my understanding
gets transferred to the child at fork. I want the handle to stay with the
Thanks John,
But the idea here is that the child doesn't need a handle at all -- I
just want the mother's handle to be left alone ...
Tielman
On Tue, 07 Oct 2003 09:09:58 -0400, John Saylor wrote:
hi
no- fork YOU and die ...
( 03.10.07 12:31 +0100 ) tvilliers:
I have a mother process
Hi Tielman,
I had exactly the same problem (I asked about it about 2 weeks ago).
I use Oracle though. Even if you don't use the handle from the mother in the child,
the handle still gets fucked up. The child will try to close your handle.
There is a modifier called InactiveDestroy, like:
Read the docs, e.g., $dbh-{InactiveDestroy}
Tim.
On Tue, Oct 07, 2003 at 12:31:47PM +0100, tvilliers wrote:
Hi,
I have a mother process which needs to fork off a child at every x
milestone. The child performs a small function (ie, write to a log) and
then dies. The general idea is that the
Thanks Jeroen,
Somewhere in my quest to solve this issue, I read to first
unset the child signal with
$SIG{CHLD} = 'IGNORE'; ## Children die unnoticed ...
and then in the child use
setsid or die $!;
which supposedly immediately dissociates the child from the
mother, which means the mother