Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Forking and writing to files

by coec (Chaplain)
on May 13, 2004 at 02:09 UTC ( [id://352969]=note: print w/replies, xml ) Need Help??


in reply to Forking and writing to files

You could try adding a non-blocking wait and looping until each child successfully writes to the output file.

I dimly recall using semaphores to over come a similar problem when I did some C programming about 12 years ago.

CC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-03-28 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found