summaryrefslogtreecommitdiff
path: root/src/base/atomicio.cc
AgeCommit message (Collapse)Author
2008-09-19atomicio: provide atomic read and write functions.Nathan Binkert
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.