iphone - how the file system responds to accessing the same file at the same time?
<p>Suppose two asynchronous operations try to read or write in the same file on a given folder. How does iOS deals with that? Is the operations queued? The app crashes? the file get corrupted?</p>

<p>In case it is up to the programmer to deal with this, where do I find informations or an example on how to deal with race conditions, queues, etc.?</p>

<p>Can you guys give me a hint?</p>

<p>thanks.</p>
