libuv/src
John Barboza 27e7a8b107
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>
2018-08-11 18:24:38 -04:00
..
unix unix: loop starvation on successful write complete 2018-08-11 18:24:38 -04:00
win fs: add uv_open_osfhandle 2018-08-09 11:19:15 +02:00
fs-poll.c unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
inet.c win: move stdint-msvc2008.h to include/uv/ 2018-06-14 18:40:09 +02:00
queue.h unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
threadpool.c unix,win: wait for threads to start 2017-12-06 23:47:38 +01:00
timer.c unix,win: merge timers implementation 2018-06-25 23:48:15 +02:00
uv-common.c src: add new error apis to prevent memory leaks 2018-07-06 19:35:21 +02:00
uv-common.h unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
uv-data-getter-setters.c core: add getter/setter functions for easier ABI compat 2017-12-02 09:51:25 +01:00
version.c core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00