diff options
author | John Barboza <jbarboza@ca.ibm.com> | 2018-04-18 06:34:25 -0700 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-08-11 18:24:38 -0400 |
commit | 27e7a8b107538c65613d91324ecbbdaa1ecfed0b (patch) | |
tree | 7f0464b7b7cc51b020c945e105c8b0c100ee77c5 /docs/src | |
parent | 43138eefaeda55334960de4061cd23333268300e (diff) | |
download | libuv-27e7a8b107538c65613d91324ecbbdaa1ecfed0b.tar.gz libuv-27e7a8b107538c65613d91324ecbbdaa1ecfed0b.zip |
unix: loop starvation on successful write complete
A file descriptor that can do multiple successful write completion
requests in a row will starve the loop because it will keep feeding
the write_completed_queue. This fix will only process items on the
write_completed_queue once per event loop (in uv__run_pending).
Any new items on the queue will be processed in the next loop.
PR-URL: https://github.com/libuv/libuv/pull/1787
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions