Re: Pro*C Question: Forking Processes
From: Suresh Easwar <mesje_at_vyking.attme.com>
Date: 1996/09/03
Message-ID: <322C2D6D.2FBC_at_vyking.attme.com>#1/1
Date: 1996/09/03
Message-ID: <322C2D6D.2FBC_at_vyking.attme.com>#1/1
on solaris 2.x use
sigset(SIGCHLD, SIG_IGN);
the signal system call (if i remember right) mimics the old Unix SVR3 semantics. sigset uses SVR4 semantics.
at any rate, even if SIG_IGN is the default for SIGCHLD, you must explicitly call it to prevent the creation of zombies. if you do not expilicitly ignore SIGCHLD, then upon the termination of the child, the child becomes a zombie and the parent (if still alive) is expected to execute wait() and clean up the zombie child.
Suresh
nchintala wrote:
> I have a similar (same???) problem.
>
> Oracle 7.2.3 on Solaris 2.5
>
> From a Pro*C code if I get an oracle error, I do a connect to oracle
>
> ... rest deleted ...
Received on Tue Sep 03 1996 - 00:00:00 CEST