summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-05-13 23:25:14 +0200
committerAnna Henningsen <anna@addaleax.net>2018-06-06 19:43:56 +0200
commitddefa0f2c58450a1fa6cb7cd3b38ba02e733d4db (patch)
treef97649e6b44fa3cb10cf80b40ac4bca7d8253695 /benchmark
parent147ea5e3d78effd6da8ea2bfbf6bb77b6aaf52da (diff)
downloadandroid-node-v8-ddefa0f2c58450a1fa6cb7cd3b38ba02e733d4db.tar.gz
android-node-v8-ddefa0f2c58450a1fa6cb7cd3b38ba02e733d4db.tar.bz2
android-node-v8-ddefa0f2c58450a1fa6cb7cd3b38ba02e733d4db.zip
worker: enable stdio
Provide `stdin`, `stdout` and `stderr` options for the `Worker` constructor, and make these available to the worker thread under their usual names. The default for `stdin` is an empty stream, the default for `stdout` and `stderr` is redirecting to the parent thread’s corresponding stdio streams. PR-URL: https://github.com/nodejs/node/pull/20876 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Shingo Inoue <leko.noor@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: John-David Dalton <john.david.dalton@gmail.com> Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'benchmark')
0 files changed, 0 insertions, 0 deletions