summaryrefslogtreecommitdiff
path: root/doc/guides/contributing/pull-requests.md
diff options
context:
space:
mode:
authorUlan Degenbaev <ulan@chromium.org>2018-04-12 22:01:11 +0200
committerAnatoli Papirovski <apapirovski@mac.com>2018-04-25 10:40:16 +0200
commitd3edf2fcde0c37206dc339aab7333212d20aa0f1 (patch)
treefaf96de3d8b841f6dda9f7b0a049c67289862659 /doc/guides/contributing/pull-requests.md
parent95197ed2b052b1fee312cfc127a9f67844dd77b7 (diff)
downloadandroid-node-v8-d3edf2fcde0c37206dc339aab7333212d20aa0f1.tar.gz
android-node-v8-d3edf2fcde0c37206dc339aab7333212d20aa0f1.tar.bz2
android-node-v8-d3edf2fcde0c37206dc339aab7333212d20aa0f1.zip
src: limit foreground tasks draining loop
Foreground tasks that repost themselves can force the draining loop to run indefinitely long without giving other tasks chance to run. This limits the foreground task draining loop to run only the tasks that were in the tasks queue at the beginning of the loop. PR-URL: https://github.com/nodejs/node/pull/19987 Fixes: https://github.com/nodejs/node/issues/19937 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Khaidi Chu <i@2333.moe>
Diffstat (limited to 'doc/guides/contributing/pull-requests.md')
0 files changed, 0 insertions, 0 deletions