title: After calling fclose(), how quickly will the file be available to another thread?
body: <p>I have an application that runs on Windows and Linux. It creates a file, writes to it, and calls fclose(). After some indeterminate time, the name of the file is sent another thread. The other thread opens the file using fopen() and reads its contents.</p>
  
  <p>One user is reporting the application fails on Debian 6 unless he creates a short delay before opening the file.</p>
  
  <p>When fclose() is called and returns, how quickly will the file be available to other threads through fopen()?</p>