What does it mean with read whole files atomically

  • Follow


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 


0
Reply Tony 6/1/2010 9:05:30 AM

Tony Johansson wrote:
> 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
0
Reply Peter 6/1/2010 3:39:17 PM


1 Replies
238 Views

(page loaded in 0.041 seconds)


Reply: