PC Review


Reply
Thread Tools Rate Thread

File IO question

 
 
Mark Henry
Guest
Posts: n/a
 
      9th Mar 2004
Question about file IO...
The basic scenario is that process A creates a file, writes it out, and
closes the file. Process B immediately opens the same file and reads
it. Is it possible that Windows hasn't fully written out the file when
process B opens it? Having process A flush the file out to disk before
closing it wouldn't be a good option for us, because it would severely
hamper the performance - a lot of file IO is going on. So, is there a
way to get a guarantee from Windows that the file exists in its entirety
- using file locking, perhaps?

-Mark-
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
E-mail this file (File and folders tasks) - Resize question DAG Windows XP General 3 21st Dec 2007 11:09 AM
ASP.NET app question about config file location or DLL file and physical tiers Klonk Microsoft Dot NET 0 9th Nov 2005 09:09 PM
My Commander has a PST File that is 1.6 GB. My question is the max size of a file for the Windows OS? =?Utf-8?B?SmFzb24gQ29saWFu?= Microsoft Windows 2000 3 11th Mar 2004 03:32 PM
Re: Question on relative file addressing of sound file Bob Marley Microsoft Powerpoint 2 15th Sep 2003 06:36 AM
Re: Question on relative file addressing of sound file Ron Sommer Microsoft Powerpoint 0 1st Aug 2003 11:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:34 PM.