On 2003-11-03 15:37:59 +0000, Tim Bunce wrote: > Looks like the problem is related to the old thread support in perl > (known as 5.005threads, which was fataly flawed and now replaced by iThreads). > > I think DBI 1.32 was the last version tested to work with 5.005threads.
Which reminds me: The DBI FAQ at http://search.cpan.org/~timb/DBI-1.38/lib/DBI/FAQ.pm#5.1_Can_I_do_multi-threading_with_DBI? states: | 5.1 Can I do multi-threading with DBI? | | Perl version 5.005 and later can be built to support multi-threading. | The DBI, as of version 1.02, does not yet support multi-threading so it | would be unsafe to let more than one thread enter the DBI at the same | time. | | It is expected that some future version of the DBI will at least be | thread-safe (but not thread-hot) by automatically blocking threads | intering the DBI while it's already in use. This does seem to be a bit out of date. > If you do need threads then be aware that 5.005threads is *full* > of problems (that won't be fixed) so upgrading perl is best. Does that mean that the "future version of the DBI" mentioned above has arrived and DBI is safe to use with iThreads? hp -- _ | Peter J. Holzer | Wien ist gef�hrlich. |_|_) | Sysadmin WSR / LUGA | Weil hier lebende Menschen oft | | | [EMAIL PROTECTED] | zu Wienern werden. __/ | http://www.hjp.at/ | -- Michael Frank
pgp00000.pgp
Description: PGP signature
