aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorJavier Blazquez <jblazquez@riotgames.com>2019-05-21 20:23:42 -0700
committerBartosz Sosnowski <bartosz@janeasystems.com>2019-07-12 10:14:26 +0200
commitdabc737d7892971289537e52af4366c63cbc70b3 (patch)
treee916d04a48bd171f562d5ee3dbc51567a841e199 /docs/src
parenta5d374377822ddaa1961bddcef4bd53189c83d88 (diff)
downloadlibuv-dabc737d7892971289537e52af4366c63cbc70b3.tar.gz
libuv-dabc737d7892971289537e52af4366c63cbc70b3.zip
win: prevent tty event explosion machine hang
The tty subsystem on Windows was listening for console events from all processes to detect when our console window was being resized. This could cause an explosion in the number of events queued by the system when running many console applications in parallel that all wrote to their console quickly. The end result was a complete machine hang. Now we determine, whenever possible, what our corresponding conhost.exe process is and listen for console events from that process only. This detection does not work in 32-bit applications running on 64-bit Windows so those default to the old behavior of listening to all processes. PR-URL: https://github.com/libuv/libuv/pull/2308 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions