diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 20:48:50 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-01 20:48:50 +0000 |
commit | 15f48de1a21230b92e4350fc4685c51c6bd4f289 (patch) | |
tree | 32d2e6dedc75acd802f2f0725eb372e0f9911c48 /base/task.h | |
parent | d42369adbff8d3dc1fe878a630ce4532c3358260 (diff) | |
download | chromium_src-15f48de1a21230b92e4350fc4685c51c6bd4f289.zip chromium_src-15f48de1a21230b92e4350fc4685c51c6bd4f289.tar.gz chromium_src-15f48de1a21230b92e4350fc4685c51c6bd4f289.tar.bz2 |
Making sure that the buffer we use with ReadFile/WriteFile is page
aligned. Also restoring file attributes after evicting it from the
cache (since the function writes to the file).
Depending on hardware, file operations will fail if the buffer isn't
aligned when using the FILE_FLAG_NO_BUFFERING flag.
For more details:
http://msdn.microsoft.com/en-us/library/cc644950(VS.85).aspx
Review URL: http://codereview.chromium.org/12833
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/task.h')
0 files changed, 0 insertions, 0 deletions