summaryrefslogtreecommitdiff
path: root/libmachdev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-08-07 01:20:46 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-08-07 01:24:12 +0200
commit37ea9223f502ce4063231f5b6122ce74c055bd7e (patch)
tree59060fb72c9488b3cceabe9b218133c313002d34 /libmachdev
parent49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0 (diff)
libpipe: Enforce write_limit for large writes
We are not supposed to buffer more than the requested buffer size, so we should make the writer wait. * libpipe/pipe.c (pipe_send): Limit write calls to the write_limit, and loop around it to reach the requested amount.
Diffstat (limited to 'libmachdev')
0 files changed, 0 insertions, 0 deletions