Unverified Commit 5e1d4462 authored by Joyee Cheung's avatar Joyee Cheung
Browse files

worker: move worker thread setup code into the main script

This patch directly inlines `createMessageHandler()` and
`createWorkerFatalExeception()` in the new
`lib/internal/main/worker_thread.js` since the implementation
of the two methods are related to the execution flow of
workers.

PR-URL: https://github.com/nodejs/node/pull/25667


Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 6967f913
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment