PC Review
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Developer
File IO question
Forums
Newsgroups
Windows 2000
Microsoft Windows 2000 Developer
File IO question
![]() |
File IO question |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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- |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

