diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2018-12-23 11:53:05 +0800 |
---|---|---|
committer | Joyee Cheung <joyeec9h3@gmail.com> | 2018-12-31 14:19:49 +0800 |
commit | af237152cdb0b7b5a4495e84cdf4b170f6ddd361 (patch) | |
tree | ec95c3845292c6f7f9efcc861efe14465e4e2f10 /node.gyp | |
parent | 7163fbf066fe3e84a2203c01a385df1765d53ab6 (diff) | |
download | android-node-v8-af237152cdb0b7b5a4495e84cdf4b170f6ddd361.tar.gz android-node-v8-af237152cdb0b7b5a4495e84cdf4b170f6ddd361.tar.bz2 android-node-v8-af237152cdb0b7b5a4495e84cdf4b170f6ddd361.zip |
process: split worker IO into internal/worker/io.js
- Move `setupProcessStdio` which contains write access to
the process object into `bootstrap/node.js`
- Move `MessagePort`, `MessageChannel`, `ReadableWorkerStdio`,
and `WritableWorkerStdio` into `internal/worker/io.js`
- Move more worker-specific bootstrap code into
`internal/process/worker_thread_only` from `setupChild`
in `internal/worker.js`, and move the `process._fatalException`
overwrite into `bootstrap/node.js` for clarity.
PR-URL: https://github.com/nodejs/node/pull/25199
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -181,6 +181,7 @@ 'lib/internal/stream_base_commons.js', 'lib/internal/vm/source_text_module.js', 'lib/internal/worker.js', + 'lib/internal/worker/io.js', 'lib/internal/streams/lazy_transform.js', 'lib/internal/streams/async_iterator.js', 'lib/internal/streams/buffer_list.js', |