Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Things you need to know before programming Perl ithreads

by imrags (Monk)
on Dec 09, 2008 at 09:00 UTC ( #729107=note: print w/ replies, xml ) Need Help??


in reply to Things you need to know before programming Perl ithreads

There is one more problem with threads even with PERL 5.8.8 ... on Win32 machines with multi processors...
Sometimes, even if it appears that the threaded scripts are working...they are actually not ...
I found out that running scripts on a single CPU will generally solve the problem...

Raghu


Comment on Re: Things you need to know before programming Perl ithreads
Re^2: Things you need to know before programming Perl ithreads
by BrowserUk (Pope) on Dec 09, 2008 at 09:19 UTC

      I have following queries: ithreads is how much robust in perl 5.8.8? Like the problem with shared variable is sorted out or still Thread::Tie module is still preferable? The package variables(declared with 'our') is paced in symbol table of the package. So when we import a package with 'use' directive in main package, is it safe to declare them as shared variables?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://729107]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2014-12-28 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls