summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-12-23 11:53:05 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-12-31 14:19:49 +0800
commitaf237152cdb0b7b5a4495e84cdf4b170f6ddd361 (patch)
treeec95c3845292c6f7f9efcc861efe14465e4e2f10 /node.gyp
parent7163fbf066fe3e84a2203c01a385df1765d53ab6 (diff)
downloadandroid-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.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 8db51f6857..d2c3560131 100644
--- a/node.gyp
+++ b/node.gyp
@@ -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',