node/lib/internal/bootstrap
Joyee Cheung 0c1a388218
process: move child process IPC setup condition into node.js
Instead of branching in main_thread_only.js, move the branch on
process.env.NODE_CHANNEL_FD in node.js so it's easier to tell when
this needs to happen. Also added comments about what side effect
this causes, and lazy load `assert`.

PR-URL: https://github.com/nodejs/node/pull/25130
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2018-12-22 17:41:18 +08:00
..
cache.js src: always compile and store code cache for native modules 2018-12-18 18:02:11 +08:00
loaders.js os: move process.binding('os') to internalBinding 2018-12-20 05:29:16 +01:00
node.js process: move child process IPC setup condition into node.js 2018-12-22 17:41:18 +08:00