summaryrefslogtreecommitdiff
path: root/src/node_report.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-02-03 15:14:19 +0100
committerAnna Henningsen <anna@addaleax.net>2019-02-05 18:05:20 +0100
commit63ab54248b7dbd315d3e196b456073efd248fc89 (patch)
tree0899e84ff305d25df334b5f7ec53ff7337555f3a /src/node_report.h
parent9bbe29dcce8ee7830e5589a407e56e9cfcfc2129 (diff)
downloadandroid-node-v8-63ab54248b7dbd315d3e196b456073efd248fc89.tar.gz
android-node-v8-63ab54248b7dbd315d3e196b456073efd248fc89.tar.bz2
android-node-v8-63ab54248b7dbd315d3e196b456073efd248fc89.zip
worker,etw: only enable ETW on the main thread
The Windows ETW code is not written to be compatible with multi threading, and in particular it relies on global state like a single static `uv_async_t`. Adding that to multiple threads would corrupt the corresponding loops' handle queues. This addresses the flakiness of at least `test-worker-exit-code` and very likely other flaky tests that relate to Worker threads on Windows as well. Fixes: https://github.com/nodejs/node/issues/25847 Fixes: https://github.com/nodejs/node/issues/25702 Fixes: https://github.com/nodejs/node/issues/24005 Fixes: https://github.com/nodejs/node/issues/23873 PR-URL: https://github.com/nodejs/node/pull/25907 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_report.h')
0 files changed, 0 insertions, 0 deletions