iThreads, perl 5.8.0
am 18.07.2002 23:00:01 von Ray Hilton
------=_NextPart_000_0022_01C22EA6.79FEDD70
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Has anyone tried DBD::mysql on perl 5.8 with ithreads enabled? It seems
there is a problem somewhere, if anyone else has experienced this, and
possibly has a solution, it would be nice to know, otherwise, let me
know, and I will give you all the details.
Ray
------=_NextPart_000_0022_01C22EA6.79FEDD70--
Re: iThreads, perl 5.8.0
am 19.07.2002 05:45:17 von Dave Rolsky
On Thu, 18 Jul 2002, Ray Hilton wrote:
> Has anyone tried DBD::mysql on perl 5.8 with ithreads enabled? It seems
> there is a problem somewhere, if anyone else has experienced this, and
> possibly has a solution, it would be nice to know, otherwise, let me
> know, and I will give you all the details.
Most modules involving C are unlikely to work right off the bat with
ithreads. In fact, a lot of pure Perl modules won't work with ithreads
either.
Unless you see a note in a changelog for a module saying "works with
ithreads now" then you can probably assume it doesn't. And of course
there are multiple levels of "works" (thread-safe vs. thread-friendly).
-dave
/*==================
www.urth.org
we await the New Sun
==================*/
------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1868@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.
Re: iThreads, perl 5.8.0
am 19.07.2002 05:45:17 von Dave Rolsky
On Thu, 18 Jul 2002, Ray Hilton wrote:
> Has anyone tried DBD::mysql on perl 5.8 with ithreads enabled? It seems
> there is a problem somewhere, if anyone else has experienced this, and
> possibly has a solution, it would be nice to know, otherwise, let me
> know, and I will give you all the details.
Most modules involving C are unlikely to work right off the bat with
ithreads. In fact, a lot of pure Perl modules won't work with ithreads
either.
Unless you see a note in a changelog for a module saying "works with
ithreads now" then you can probably assume it doesn't. And of course
there are multiple levels of "works" (thread-safe vs. thread-friendly).
-dave
/*==================
www.urth.org
we await the New Sun
==================*/
------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1868@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.
Re: iThreads
am 16.09.2002 20:19:44 von Jochen Wiedmann
Quoting Tim Bunce :
> All drivers need a DBD::::CLONE method that clears the $drh
> handle so that the next connect in the cloned interpreter will
> trigger creating a new driver
> handle.
Which is exactly what I've added to DBD::mysql,
2.1019:
2002-09-16 Jochen Wiedmann (0.2019)
* Added hints to installing DBD::mysql with PPM 3.
(Stefan Prehn, stefanprehngmx.de)
* Added $DBD::mysql::CLONE
Regards,
Jochen
------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1915@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.
Re: iThreads
am 16.09.2002 20:19:44 von Jochen Wiedmann
Quoting Tim Bunce :
> All drivers need a DBD::::CLONE method that clears the $drh
> handle so that the next connect in the cloned interpreter will
> trigger creating a new driver
> handle.
Which is exactly what I've added to DBD::mysql,
2.1019:
2002-09-16 Jochen Wiedmann (0.2019)
* Added hints to installing DBD::mysql with PPM 3.
(Stefan Prehn, stefanprehngmx.de)
* Added $DBD::mysql::CLONE
Regards,
Jochen
------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1915@lists.mysql.com
To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.