Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Things you need to know before programming Perl ithreads

by imrags (Monk)
on Dec 09, 2008 at 09:00 UTC ( [id://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

Replies are listed 'Best First'.
Re^2: Things you need to know before programming Perl ithreads
by BrowserUk (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://729107]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found