Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Capturing XS printf output with a tied filehandle (lots)

by Anonymous Monk
on Feb 18, 2012 at 00:26 UTC ( [id://954647]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Capturing XS printf output with a tied filehandle (lots)
in thread Capturing XS printf output with a tied filehandle

Prima is safe-enough http://search.cpan.org/dist/Prima/pod/Prima/faq.pod#How_to_implement_parallel_processing?

  • Comment on Re^3: Capturing XS printf output with a tied filehandle (lots)

Replies are listed 'Best First'.
Re^4: Capturing XS printf output with a tied filehandle (lots)
by run4flat (Initiate) on Feb 18, 2012 at 03:47 UTC

    Yes, Prima is wonderful, and I've managed to keep most of my long-winded calculations finely grained enough that I can maintain responsiveness. However, tye's suggestion that I run one widget in its own thread the rest of the application in a different thread will not work with Prima, as the documentation that you link suggests. And that bit is something that I would really like to push if I find spare tuits some time this summer or fall.

      However, tye's suggestion that I run one widget in its own thread the rest of the application in a different thread will not work with Prima, as the documentation that you link suggests.

      tye suggested you do what works, which is only run prima in a child thread, and communicate through pipe/sockets, the same thing prima faq suggests

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-20 04:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found