Saturday, October 16, 2010

[android-developers] can we read and write a same file using 2 thread

In my application, if I uses one thread to write a file. Can I use
another thread to read from the same file?

What would happen? will th OS locks the file when read or write?

Thanks.

Cindy

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate