What happens if two processes call File.read(path) at the same time for the same path in Ruby? -
if have 2 child processes in ruby, , each calls `file.read()' @ same time (on same file), happen?
what want happens both processes read contents of file...
read safe operation. can have many concurrent readers.
not writes, naturally.
so yeah, expect happen.
Comments
Post a Comment