diff options
author | Grazvydas Ignotas <[email protected]> | 2017-03-16 01:09:32 +0200 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-21 11:51:03 +1100 |
commit | b9a370f2b4fc5b857ca06f7e5a07cb04219ca9d1 (patch) | |
tree | 42d56b1c3bbc815ac1f42d3c6dbb3c44b37ffb7d /src/util/hash_table.h | |
parent | af73acca2b3f3e1adbdff62e0ca085979dc5974c (diff) |
util/disk_cache: add a write helper
Simplifies the write code a bit and handles EINTR.
V2: (Timothy Arceri) Drop EINTR handling. To do it
properly we would need a retry limit but it's
probably best to just avoid trying to write if
we hit EINTR and try again next time we see
the program.
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/util/hash_table.h')
0 files changed, 0 insertions, 0 deletions