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.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

In reply to Re^2: Thread Termination by BrowserUk
in thread Thread Termination by perlsameer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.