Patrick Mulvany wrote: > On Tue, Jun 10, 2003 at 04:27:17PM +1000, Stas Bekman wrote:
>> connect_on_init() should probably be not used. > > > connect_on_init() pushs to a list of connection strings to start on child > creation. &childinit should be called as a PerlChildInitHandler (not sure > when MP2 handles these) but is this called per thread?
No, PerlChildInitHandler is called when a process starts up. Apache provides no hooks for threads startup.
http://perl.apache.org/docs/2.0/user/handlers/server.html#PerlChildInitHandler
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com