in reply to Re: Sharing database handle
in thread Sharing database handle

Hi,
well, this <emph>only</emph> implies that you'll have to devote a process (either the father or one of the siblings) handle the handle (bad pun, sorry) and the (other) children will have to talk with that process to use the connection.

IIRC, that's the way Apache::DBI works.

Cheers
Leo TheHobbit
GED/CS d? s-:++ a+ C++ UL+++ P+++>+++++ E+ W++ N+ o K? !w O? M V PS+++
PE-- Y+ PPG+ t++ 5? X-- R+ tv+ b+++ DI? D G++ e*(++++) h r++ y+++(*)

Replies are listed 'Best First'.
Re: Re: Re: Sharing database handle
by perrin (Chancellor) on Apr 18, 2002 at 18:51 UTC
    No, Apache::DBI doesn't do any inter-process communication. It's dirt simple. It just opens a separate database handle in each process and keeps it open.