Skip to content

Break out platform delegate - #30324

Closed
laverdet wants to merge 1 commit into
nodejs:masterfrom
laverdet:platform-delegate
Closed

Break out platform delegate#30324
laverdet wants to merge 1 commit into
nodejs:masterfrom
laverdet:platform-delegate

Conversation

@laverdet

@laverdetlaverdet commented Nov 7, 2019

Copy link
Copy Markdown
Contributor

This is continuation from the discussion here: laverdet/isolated-vm#133.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Nov 7, 2019
@laverdet

Copy link
Copy Markdown
ContributorAuthor

For posterity previous inline comments and responses are here: laverdet@8623e9a

Comment threadsrc/node_platform.cc Outdated
Comment threadsrc/node.h Outdated
@joyeecheung

Copy link
Copy Markdown
Member

Can you add a cctest for this? (I think using a PerIsolatePlatformData as the delegate should already work?)

Comment threadsrc/node.h Outdated
Comment threadsrc/node_platform.cc Outdated
Comment threadsrc/node.h Outdated
Comment threadsrc/node_platform.cc Outdated
Adds a new abstract class for module authors and embedders to register
arbitrary isolates with `node::MultiIsolatePlatform`.
@addaleaxaddaleax added the semver-major PRs that contain breaking changes and should be released in the next major version. label Nov 13, 2019
@addaleax

Copy link
Copy Markdown
Member

Now that this has definitely become semver-major this needs another @nodejs/tsc review…

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@addaleaxaddaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 18, 2019
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

addaleax pushed a commit that referenced this pull request Nov 20, 2019
Adds a new abstract class for module authors and embedders to register
arbitrary isolates with `node::MultiIsolatePlatform`.
PR-URL: #30324
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@addaleax

Copy link
Copy Markdown
Member

Landed in c712fb7, thanks for the pull request and please let us know if there’s anything else you need! 🚀

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.semver-majorPRs that contain breaking changes and should be released in the next major version.v8 platformIssues and PRs related to Node's v8::Platform implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@laverdet@joyeecheung@addaleax@nodejs-github-bot@bnoordhuis@lundibundi