What does it mean with read whole files atomically

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hi!

Here is the complete sentence. "The file class can be used to open files,
create new files, read whole files atomically, and even write files".

So what does the test mean with read whole files atomically ?

//Tony
 
Tony said:
Hi!

Here is the complete sentence. "The file class can be used to open files,
create new files, read whole files atomically, and even write files".

So what does the test mean with read whole files atomically ?

They must be talking about the ReadAllText() method, and using the word
"atomically" simply to mean that with a single method call, you can read
the entire file (which, given the context seems like a reasonable enough
usage of the word "atomically").

Pete
 
Back
Top