in reply to Database handler shared among forked processes
You might get away with setting InactiveDestroy in the children, but you're almost certainly better off with one connection in each child.
This will also avoid problems if two child process try to use the same handle at the same time.
Note that I've been able to use shared handles among child processes with Sybase::CTlib, but then Sybase specifically states that connection handles can be shared across forks.
Michael
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Database handler shared among forked processes
by marcos (Scribe) on Jun 09, 2002 at 12:53 UTC | |
by mpeppler (Vicar) on Jun 11, 2002 at 17:45 UTC |