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

Re^2: Strange IO + concurrency issue

by vsespb (Hermit)
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).


Comment on Re^2: Strange IO + concurrency issue

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-08-21 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls