Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Problems using module Async

by Anonymous Monk
on Nov 29, 2015 at 15:18 UTC ( [id://1148818]=note: print w/replies, xml ) Need Help??


in reply to Problems using module Async

Note: I tried reading through the Async module and as for lets say 90% I get what it is doing. I tried commenting out the following line, but it didn't change anything:
kill 9 => $pid; # I don't care.
You should pay more attention; the output does change.

Replies are listed 'Best First'.
Re^2: Problems using module Async
by hfi (Novice) on Nov 29, 2015 at 15:31 UTC

    Oops. You're right. In fact I tried that for the original code (using a very similar code as the above example shows in context of a Proc::Daemon fork) where I couldn't see any change. And since I could reproduce the very same behavior with the above code, I didn't do the check again for the example code. Thanks for that hint!

    However I think I was going the wrong way anyways, I will recode the queuing system as ithreads.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-24 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found