.... all i'm saying is he shouldn't think Perl threads will make it go faster

.... he cannot gaurantee his multicore system will split the Perl threads between cores....in all likelyhood, it will be run in the same core, meaning both his threads will share a single execution pointer..... the pointer can't be in 2 places at the same time and the nice value given to the main thread, will limit his total speed

...if you have a code snippet that shows you how to force a Perl process to split it's execution across multiple cores, i would like to see it.... i could learn something

..... i don't know how many times this has been argued.... but Perl threads actually slow you down on a single cpu machine.... you may as well just have it all in the main script.... but on a multi-core system, on windows, it may work better..... but i'm just advising him, so he dosn't think Perl threads are some miracle speed boost thru concurrency

.... Perl Threads and multi-core CPUs discusses the pitfalls


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku

In reply to Re^5: Standard way to convert timezone in multithreaded script by zentara
in thread Standard way to convert timezone in multithreaded script by whale2

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.