On Tue, 2003-06-10 at 01:45, Stas Bekman wrote:
mp2+winFU => winnt MPM => no forking, only threads => Apache::DBI is useless there. not only useless, but also wasteful, since it's going to do work that has no added value.
But how is this any different from separate processes really? Each
thread is a separate interpreter with separate globals and this separate
Apache::DBI persistent handles. If things are not threadsafe it
crashes, but if they are it should work just like it does for multi-process apache, shouldn't it?
I think you are right. I was thinking about pooling across threads. If somebody can give it a try and report back (use debug mode to see what happens) that would be the simplest check.
connect_on_init() should probably be not used.
__________________________________________________________________ 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