From af237152cdb0b7b5a4495e84cdf4b170f6ddd361 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sun, 23 Dec 2018 11:53:05 +0800 Subject: 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 --- node.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'node.gyp') 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', -- cgit v1.2.3