Re: Async File IO is not async?
Peter Ritchie <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
I guess I my definition of "true" async IO is different than yours because BeginWriteCore what http://support.microsoft.com/kb/156932 details with overlapped IO, albeit with managed types. What parts to you consider not "true"? The example code for KB156932 doesn't use FILE_FLAG_NO_BUFFERING, it just describes what it's for. Plus, BeginWrite and BeginRead don't create the file, "reflector reveals that BeginWrite and BeginRead do not satisfy most..." wouldn't lead anyone to think about FILE_FLAG_NO_BUFFERING... Overlapped IO simply asks the system to perform the IO asynchronous. It decides whether it will or not. It may decide that it already has that data in a cache somewhere and simply return data from the cache instead of directly reading the disk. =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com