Help: file access on Windows XP/Vista

  • 12 years ago

    I need somebody who can explain to me how Windows XP/Vista deal with its file system in the hard disc.

    When an application process locks a certain section of a file to prevent other processes from reading/writing on it, updates that section of the file and releases the lock, can I be sure that other processes which have been waiting for the release of the lock find the section of the file updated?  Or is it possible that some of them may read the old data in the section of the file before the update has been completed!!?

     I used to be a Unix C programmer.  I think that I used fcntl() or ioctl() before releasing the lock to make sure that the update has been completed on the file system!!


    I look forward to hearing from you guys!!


Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Never trust a programmer in a suit.” - Anonymous