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

[v10.x backport] src: implement v8::Platform::CallDelayedOnWorkerThread #22567

Closed
wants to merge 1 commit into from
Closed

[v10.x backport] src: implement v8::Platform::CallDelayedOnWorkerThread #22567

wants to merge 1 commit into from

Conversation

alexkozy
Copy link
Member

This method is crucial for Runtime.evaluate protocol command with
timeout flag. At least Chrome DevTools frontend uses this method for
every execution in console.

Fixes: #22157
Original PR: #22383

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

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. v10.x labels Aug 28, 2018
@alexkozy alexkozy requested a review from addaleax August 28, 2018 11:37
@addaleax
Copy link
Member

CI: https://ci.nodejs.org/job/node-test-pull-request/16825/

(@ak239 Just saw your comment in the other thread … it’s generally helpful to post CI links after kicking off CI 🙂)

@@ -53,6 +174,8 @@ void BackgroundTaskRunner::BlockingDrain() {

void BackgroundTaskRunner::Shutdown() {
background_tasks_.Stop();
// pending_worker_tasks_.Stop();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be removed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

This method is crucial for Runtime.evaluate protocol command with
timeout flag. At least Chrome DevTools frontend uses this method for
every execution in console.

Fixes: #22157
@alexkozy
Copy link
Member Author

alexkozy commented Aug 28, 2018

I removed commented code and restarted CI: https://ci.nodejs.org/job/node-test-pull-request/16826/ (✔️)

@addaleax
Copy link
Member

Landed in b3dab8c

@addaleax addaleax closed this Aug 28, 2018
addaleax pushed a commit that referenced this pull request Aug 28, 2018
This method is crucial for Runtime.evaluate protocol command with
timeout flag. At least Chrome DevTools frontend uses this method for
every execution in console.

Backport-PR-URL: #22567
PR-URL: #22383
Fixes: #22157
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this pull request Sep 3, 2018
This method is crucial for Runtime.evaluate protocol command with
timeout flag. At least Chrome DevTools frontend uses this method for
every execution in console.

Backport-PR-URL: #22567
PR-URL: #22383
Fixes: #22157
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
targos pushed a commit that referenced this pull request Sep 6, 2018
This method is crucial for Runtime.evaluate protocol command with
timeout flag. At least Chrome DevTools frontend uses this method for
every execution in console.

Backport-PR-URL: #22567
PR-URL: #22383
Fixes: #22157
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants