src: remove duplicate field env in CryptoJob class#31554
Closed
DavenportEmma wants to merge 4 commits intonodejs:masterfrom
Closed
src: remove duplicate field env in CryptoJob class#31554DavenportEmma wants to merge 4 commits intonodejs:masterfrom
DavenportEmma wants to merge 4 commits intonodejs:masterfrom
Conversation
Removed field env from cryptojob class, replaced with function get_env() inherited from ThreadPoolWork
jasnell
approved these changes
Jan 28, 2020
addaleax
approved these changes
Jan 28, 2020
benjamingr
approved these changes
Jan 28, 2020
cjihrig
approved these changes
Jan 28, 2020
devnexen
approved these changes
Jan 29, 2020
bnoordhuis
reviewed
Jan 29, 2020
Co-Authored-By: Ben Noordhuis <[email protected]>
Trott
approved these changes
Jan 31, 2020
bnoordhuis
added a commit
to bnoordhuis/io.js
that referenced
this pull request
Jan 31, 2020
Add a `ThreadPoolWork::env()` getter and use that. To fix the diamond problem in class CompressionStream that inherits from both AsyncWrap and ThreadPoolWork, we add a `CompressionStream::env()` getter that delegates to `AsyncWrap::env()`. Refs: nodejs#31554 (comment)
bnoordhuis
added a commit
to bnoordhuis/io.js
that referenced
this pull request
Jan 31, 2020
Rename `StreamBase::stream_env()` to `StreamBase::env()` and work around the diamond problem by adding `env()` getters to several classes. Refs: nodejs#31554 (comment)
Member
|
@conordavenport ... I'm working up an additional fixup commit for this that uses |
Member
|
@conordavenport ... ok, I pushed a new commit that should work but I haven't tested it on macos yet. @addaleax @Trott @benjamingr @cjihrig @devnexen ... can I ask you to give this another lookover to see if it still looks good to you. |
This comment has been minimized.
This comment has been minimized.
1 similar comment
addaleax
approved these changes
Feb 2, 2020
Member
addaleax
left a comment
There was a problem hiding this comment.
I’m also good with this, yes. (Kinda preferred the original variant of using a different method name, of all the ones out there, tbh.)
tniessen
approved these changes
Feb 2, 2020
Member
jasnell
pushed a commit
that referenced
this pull request
Feb 2, 2020
Removed field env from cryptojob class, replaced with function env() inherited from ThreadPoolWork PR-URL: #31554 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Member
|
Landed in 99c8c6d |
codebytere
pushed a commit
that referenced
this pull request
Feb 17, 2020
Removed field env from cryptojob class, replaced with function env() inherited from ThreadPoolWork PR-URL: #31554 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Merged
codebytere
pushed a commit
that referenced
this pull request
Mar 15, 2020
Removed field env from cryptojob class, replaced with function env() inherited from ThreadPoolWork PR-URL: #31554 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
codebytere
pushed a commit
that referenced
this pull request
Mar 17, 2020
Removed field env from cryptojob class, replaced with function env() inherited from ThreadPoolWork PR-URL: #31554 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Merged
codebytere
pushed a commit
that referenced
this pull request
Mar 30, 2020
Removed field env from cryptojob class, replaced with function env() inherited from ThreadPoolWork PR-URL: #31554 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removed field env from cryptojob class, replaced with function get_env() inherited from ThreadPoolWork
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes