Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 wandering the Monastery: (11)
As of 2014-11-22 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (118 votes), past polls