Skip to content

[v10.x] src: reduce platform worker barrier lifetime - #28844

Closed
andrewhughes101 wants to merge 1 commit into
nodejs:v10.x-stagingfrom
andrewhughes101:backport-23419-to-v10.x
Closed

[v10.x] src: reduce platform worker barrier lifetime#28844
andrewhughes101 wants to merge 1 commit into
nodejs:v10.x-stagingfrom
andrewhughes101:backport-23419-to-v10.x

Conversation

@andrewhughes101

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

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. v10.x labels Jul 24, 2019
@richardlau
richardlau requested a review from ofrobotsJuly 24, 2019 16:27
@richardlaurichardlau changed the title src: reduce platform worker barrier lifetime[v10.x] src: reduce platform worker barrier lifetimeJul 24, 2019

@ofrobotsofrobots left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM w/ a minor style nit

Comment threadsrc/node_platform.cc Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

style nit: trailing whitespace

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Hi I took this out because it fails the linter

src/node_platform.cc:172: Line ends in whitespace. Consider deleting these extra spaces. [whitespace/end_of_line] [4]Done processing src/node_platform.cc

@ofrobots

Copy link
Copy Markdown
Contributor

BTW, is there a motivating for making this change on 10.x other than cleaning up?

@andrewhughes101

Copy link
Copy Markdown
ContributorAuthor

I was looking for a good first contribution so went through the backport-requested PRs to help tidy up

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

Minor cleanup in the lifetime for the platform worker initialization
synchronization barrier.
PR-URL: nodejs#23419
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@andrewhughes101
andrewhughes101force-pushed the backport-23419-to-v10.x branch from e4a0efe to c713f35CompareJuly 29, 2019 11:01
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

nodejs-github-bot commented Aug 1, 2019

Copy link
Copy Markdown
Collaborator

BethGriggs pushed a commit that referenced this pull request Sep 20, 2019
Minor cleanup in the lifetime for the platform worker initialization
synchronization barrier.
PR-URL: #23419
Backport-PR-URL: #28844
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@BethGriggs

Copy link
Copy Markdown
Member

Landed on v10.x-staging

Sign up for freeto 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

@andrewhughes101@ofrobots@nodejs-github-bot@BethGriggs