First threads in Perl5.8.6 are not very reliable...move at least to 5.8.8.
My experience is completely the opposite of that.
When I tried 5.8.8, the versions of threads & threads::shared that shipped with it: 1.07 & 0.94 respectively, were very unreliable, breaking pretty much every piece of pre-existing threaded code I had. Either through fast memory leaks that hadn't been evident with 5.8.6, or through mysterious hangs and traps, usually when detaching or joining threads.
It took many subsequent versions of both before they got back to the state of reliablility that the out-of-the-box versions that shipped with 5.8.6 had achieved.
And the state of reliability of any given one of the 45 versions of threads between 1.23 & 1.67 was a lottery. Sometimes things improved a little, only to fall apart again in the next release (which sometimes came later the very same day!). Sometimes they just hung. Same thing for the 25+ releases of threads::shared.
It is only in the last couple of months that things appear to have stabilised.
In reply to Re^2: Thread Termination
by BrowserUk
in thread Thread Termination
by perlsameer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |