Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! worker: set up child Isolate inside Worker thread
  • Loading branch information
addaleax committed Feb 10, 2019
commit 557e241c4a23eed2a4dbb8d8bfcf045ea2d60e86
3 changes: 3 additions & 0 deletions src/node_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ bool Worker::is_stopped() const {
return stopped_;
}

// This class contains data that is only relevant to the child thread itself,
// and only while it is running.
// (Eventually, the Environment instance should probably also be moved here.)
class WorkerThreadData {
Comment thread
addaleax marked this conversation as resolved.
public:
explicit WorkerThreadData(Worker* w)
Expand Down