summaryrefslogtreecommitdiff
path: root/src/dev/SimpleDisk.py
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-09-19 09:42:31 -0700
committerNathan Binkert <nate@binkert.org>2008-09-19 09:42:31 -0700
commitce3d8c2b038605fa5ceb6d1ad8e27b51c1aca980 (patch)
treed1330c84f7f0a203daeab8fc7fd3c6ec37b80497 /src/dev/SimpleDisk.py
parentaf9c5e05f73f6899a405230e66dfa75a5b39822a (diff)
downloadgem5-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