diff options
author | Nathan Binkert <nate@binkert.org> | 2008-09-19 09:42:31 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-09-19 09:42:31 -0700 |
commit | ce3d8c2b038605fa5ceb6d1ad8e27b51c1aca980 (patch) | |
tree | d1330c84f7f0a203daeab8fc7fd3c6ec37b80497 /src/dev/SimpleDisk.py | |
parent | af9c5e05f73f6899a405230e66dfa75a5b39822a (diff) | |
download | gem5-ce3d8c2b038605fa5ceb6d1ad8e27b51c1aca980.tar.xz |
atomicio: provide atomic read and write functions.
These functions keep trying to read and write until all data has been
transferred, or an error occurrs. In the case where an end of file
hasn't been reached, but all of the bytes have not been read/written,
try again. On EINTR, try again.
Diffstat (limited to 'src/dev/SimpleDisk.py')
0 files changed, 0 insertions, 0 deletions