Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Strange IO + concurrency issue

by vsespb (Chaplain)
on Sep 28, 2013 at 17:16 UTC ( #1056154=note: print w/replies, xml ) Need Help??


in reply to Re: Strange IO + concurrency issue
in thread [SOLVED] Strange IO + concurrency issue

So potentially many children all writing to the same file at the same time.
See above Re^2: Strange IO + concurrency issue - write-to file is actually protected (although it's extremely unclear in code). What was not protected is file copy (where destination file is unique)
It's usually better to get each child to write to its own temp file
Same, in this case there are no concurrent writes to same file (even copy writes to unique file).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056154]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2016-12-07 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.