Hi

MS-ERREF: NTSTATUS Values

0xC0000008 STATUS_INVALID_HANDLE An invalid HANDLE was spec +ified. 0xC0000005 STATUS_ACCESS_VIOLATION The instruction at 0x%0 +8lx referenced memory at 0x%08lx. The memory could not be %s. +0xC0000006 0xC0000022 STATUS_ACCESS_DENIED {Access Denied} A process +has requested access to an object but has not been granted those acce +ss rights.

So, based on that, I try something simple, move the first join next to the second, and the program runs to completion.

Starting over, I add exit 0; after the last join , and it also lets the program complete without exceptions

However, redirecting the output to a file, exit solution crashes the same way. Same if I move some use statements around.

However, the original solution doesn't crash no matter what, create threads first, join them later .

However I'm using perl 5.16.1 a long unsupported windows OS , so :)


In reply to Re: HTTP Request and Threads by beech
in thread HTTP Request and Threads by banhmi

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.