src: move more to node_process.cc from node.cc#22422
src: move more to node_process.cc from node.cc#22422jasnell wants to merge 1 commit intonodejs:masterfrom
Conversation
|
Related failures in CI. Will revisit later today. |
src/node_internals.h
Outdated
There was a problem hiding this comment.
Any reason not to have a node_process.h. IIUC these function are only used in node.cc.
There was a problem hiding this comment.
Eventually everything in node.cc that relates to the process object should be moved over to node_process.cc. Once that is done, we shouldn't need the declarations in node_internals.h any more and definitely won't need a node_process.h. These definitions are transitional only since SetupProcessObject is still in node.cc. I won't move that until after @addaleax's options parser stuff lands.
src/node_internals.h
Outdated
There was a problem hiding this comment.
Shouldn't these be extern? with the definition only in node_process.cc?
88211d3 to
de58897
Compare
|
Updated CI with (hopefully) fixes: https://ci.nodejs.org/job/node-test-pull-request/16641/ |
There was a problem hiding this comment.
LGTM (once @refack’s comment from #22422 (comment) is addressed)
de58897 to
a8bbb33
Compare
|
CI is good. |
a8bbb33 to
2019d35
Compare
|
CI after rebase: https://ci.nodejs.org/job/node-test-pull-request/16688/ |
PR-URL: #22422 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
|
Landed in 264c99f |
PR-URL: #22422 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #22422 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #22422 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Incrementally moving more stuff for the
processobject over tonode_process.ccChecklist
make -j4 test(UNIX), orvcbuild test(Windows) passes