RE: DBI threads

2010-04-07 Thread Martin Gainty
Hi Jeff- the short answer is yes as Multi-threaded libraries are not same as SingleThreaded library which usually spawn n number processes to achieve the same goal for handling execution units so if your perl script (assuming you'r running apache) is pegging the processor its probably a

Re: DBI threads

2010-04-07 Thread John Scoles
Martin Gainty wrote: Hi Jeff- the short answer is yes as Multi-threaded libraries are not same as SingleThreaded library which usually spawn n number processes to achieve the same goal for handling execution units so if your perl script (assuming you'r running apache) is pegging the processor

Re: DBI threads

2010-04-07 Thread Martin Evans
Martin Gainty wrote: Hi Jeff- the short answer is yes as Multi-threaded libraries are not same as SingleThreaded library which usually spawn n number processes to achieve the same goal for handling execution units so if your perl script (assuming you'r running apache) is pegging the

Re: DBI : Threads + DBD::Informix

2001-09-20 Thread Tim Bunce
On Wed, Sep 19, 2001 at 05:49:26PM -0700, Jonathan Leffler wrote: On Wed, 19 Sep 2001, Tim Bunce wrote: On Wed, Sep 19, 2001 at 11:24:39AM -0500, James Maes wrote: On Wednesday 19 September 2001 11:16 am, James Maes wrote: On Wednesday 19 September 2001 10:51 am, Tim Bunce wrote:

Re: DBI : Threads + DBD::Informix

2001-09-19 Thread Tim Bunce
On Tue, Sep 18, 2001 at 11:02:04PM -0700, Jonathan Leffler wrote: James Maes wrote: Are the DBD Modules Thread safe, DBD::Informix in particular. Define thread-safe? DBI single-threads control. DBD::Informix is supposed to compile under a Perl compiled with threads -- let me know

Re: DBI : Threads + DBD::Informix

2001-09-19 Thread James Maes
On Wednesday 19 September 2001 10:51 am, Tim Bunce wrote: snip Actually the DBI uses a mutex *per driver* thus ensuring that only a single thread can enter each driver. But different threads could go through the DBI into different drivers at the same time. One subtle point to note: if

Re: DBI : Threads + DBD::Informix

2001-09-19 Thread Tim Bunce
On Wed, Sep 19, 2001 at 11:24:39AM -0500, James Maes wrote: On Wednesday 19 September 2001 11:16 am, you wrote: On Wednesday 19 September 2001 10:51 am, Tim Bunce wrote: snip Actually the DBI uses a mutex *per driver* thus ensuring that only a single thread can enter each driver. But

Re: DBI : Threads + DBD::Informix

2001-09-19 Thread Jonathan Leffler
On Wed, 19 Sep 2001, Tim Bunce wrote: On Wed, Sep 19, 2001 at 11:24:39AM -0500, James Maes wrote: On Wednesday 19 September 2001 11:16 am, James Maes wrote: On Wednesday 19 September 2001 10:51 am, Tim Bunce wrote: Actually the DBI uses a mutex *per driver* thus ensuring that only a

Re: DBI : Threads + DBD::Informix

2001-09-18 Thread Jonathan Leffler
James Maes wrote: Are the DBD Modules Thread safe, DBD::Informix in particular. Define thread-safe? DBI single-threads control. DBD::Informix is supposed to compile under a Perl compiled with threads -- let me know if it doesn't. DBD::Informix makes no attempt to use the threaded ESQL/C