Re: threaded apache2
[prev]
[thread]
[next]
[Date index for 2005/02/01]
On Tue, 2005-02-01 at 17:30 -0500, Andrew Hartford wrote:
> So is a threaded MPM not safe with Class::DBI?
If the DBD you use is thread-safe, it will probably be fine. Ima::DBI
doesn't use XS code, and globals are not a problem for threads since
nothing is shared by default. However, you may well be the first person
to try it. Read the notes on threads in the DBI man page as well, and
follow the advice about not opening database connections until after the
threads are spawned. In fact, you should probably avoid loading
Class::DBI (or anything else) during startup when using a threaded MPM.
- Perrin
|
|
Re: threaded apache2
Perrin Harkins 22:40 on 01 Feb 2005
|