Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Threaded Application Sequencing/Rendezvous

by onelesd (Pilgrim)
on Jul 10, 2012 at 23:14 UTC ( #980977=note: print w/replies, xml ) Need Help??


in reply to Threaded Application Sequencing/Rendezvous

Parallel::ForkManager works well for simple cases, but I don't believe you can mix it with threads.
  • Comment on Re: Threaded Application Sequencing/Rendezvous

Replies are listed 'Best First'.
Re^2: Threaded Application Sequencing/Rendezvous
by learnedbyerror (Scribe) on Jul 11, 2012 at 12:09 UTC

    I did consider Parallel::Forkmanager, about a half dozen other fork management modules in CPAN and doing it by forks manually. The need of the individual threads to access a shared corpus of data requires a lot more work than than the threads::shared module. So after a lot of testing with both forks and threads, I decided to go the threads route.

    Thanks, lbe

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://980977]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-07-19 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (414 votes). Check out past polls.

    Notices?