Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break out platform delegate #30324

Closed
wants to merge 1 commit into from
Closed

Conversation

laverdet
Copy link
Contributor

@laverdet laverdet commented Nov 7, 2019

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-bot nodejs-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
Contributor Author

laverdet commented Nov 7, 2019

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

src/node_platform.cc Outdated Show resolved Hide resolved
src/node.h Outdated Show resolved Hide resolved
@joyeecheung
Copy link
Member

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

src/node.h Outdated Show resolved Hide resolved
src/node.h Outdated Show resolved Hide resolved
src/node_platform.cc Show resolved Hide resolved
Adds a new abstract class for module authors and embedders to register
arbitrary isolates with `node::MultiIsolatePlatform`.
@addaleax addaleax 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
Member

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

@nodejs-github-bot
Copy link
Collaborator

@addaleax addaleax 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
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 <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
@addaleax
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs 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-major PRs that contain breaking changes and should be released in the next major version. v8 platform Issues and PRs related to Node's v8::Platform implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants