Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Wait hangs when pipe is full

by xiper (Friar)
on Sep 03, 2003 at 04:34 UTC ( [id://288506]=note: print w/replies, xml ) Need Help??


in reply to Wait hangs when pipe is full

Thanks all for your comments.

asarih

  • "Named pipes" - my bad, slip of the tongue. I meant the opposite to perls 'anonymous pipes' (ie, open( "| ..." )).

    Thelonius++

  • 5120 bytes, okay, i didn't know that - presumably that's the problem then. I'll just create another process to read the data as its generated.

    Zaxo

  • I see your point, but no it doesn't, because the reading of <CHILD> still only occurs after the loop has finished. At best, it may free up space for the last $MAXPROCESS processes to write to.
  • Already tried the autoflushing, no luck.

    - ><iper

    my JAPH: print"Just another Perl hacker\n"; # ^ look, no space! pretty tricky huh?
  • Log In?
    Username:
    Password:

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

    How do I use this?Last hourOther CB clients
    Other Users?
    Others pondering the Monastery: (3)
    As of 2024-04-26 00:19 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found