Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Don't wait: waitpid. Why?

by Abigail-II (Bishop)
on Feb 26, 2003 at 14:42 UTC ( [id://238779]=note: print w/replies, xml ) Need Help??


in reply to •Re: Don't wait: waitpid. Why?
in thread Run N similar tasks in parallel

Eh, if you wanted to wait until there are no more kids, you want a blocking call, inside a loop, wouldn't you?

I usually do 1 until -1 == wait;, but waitpid would work just as well.

Abigail

Replies are listed 'Best First'.
•Re: Re: Don't wait: waitpid. Why?
by merlyn (Sage) on Feb 26, 2003 at 14:47 UTC
      Ah, I see. I thought you wanted to wait till all children had finished.

      Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2025-07-13 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.