summaryrefslogtreecommitdiff
path: root/src/base/SConscript
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/base/SConscript
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/base/SConscript')
-rw-r--r--src/base/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/base/SConscript b/src/base/SConscript
index f9d936d84..c09fdc976 100644
--- a/src/base/SConscript
+++ b/src/base/SConscript
@@ -31,6 +31,7 @@
Import('*')
Source('annotate.cc')
+Source('atomicio.cc')
Source('bigint.cc')
Source('circlebuf.cc')
Source('cprintf.cc')