Don't ask to ask, just ask | |
PerlMonks |
I too don't like Perl 5.8.2 threadsby fx (Pilgrim) |
on Jan 06, 2004 at 17:25 UTC ( [id://319181]=perlmeditation: print w/replies, xml ) | Need Help?? |
(aka. Joining the "Perl 5.8.2 threads are much worse" cult) I would just like to add something to the two previous meditations regarding Perl 5.8.2 threading being much worse than earlier 5.8 versions but started a new meditation as it's my first one :) Ok, that, and I'm dealing with databases. Certain people may have noticed that I am having a few troubles with Perl 5.8.2, threading and Oracle 9i database connections under Solaris 8 (for sparc). After recent advice from a member of the Perl DBI mailing list I built Perl 5.8.0 with threading support and compared the results against Perl 5.8.2 threads. Code snippet 1:
under 5.8.2 started all threads but then core dumped when trying to join. Under 5.8.0 this code seems to work fine. Code snippet 2:
under 5.8.2 core dumped after only starting a handful of threads. Under 5.8.0 it starts all the threads fine but then dumps core when trying to join them. I am most interested in the latter code and as it still dumps core Perl 5.8 threads are of no use to me. Yet. However, I believe this does highlight one thing - the behaviour under 5.8.0 threads compared to 5.8.2 threads is better. Things either don't crash, or crash at a later point, but things work better. I wonder why threads in 5.8.2 are causing so much bother... == fx, Infinity Is Colourless
Back to
Meditations
|
|