Skip to content

src: do not use pointer for loop in node_watchdog - #28020

Closed
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:watchdog-unique-ptr
Closed

src: do not use pointer for loop in node_watchdog#28020
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:watchdog-unique-ptr

Conversation

@addaleax

Copy link
Copy Markdown
Member
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@addaleaxaddaleax added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Jun 2, 2019

@bnoordhuisbnoordhuis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM but is there a reason loop_ can't be an embedded uv_loop_t rather than a pointer-to-uv_loop_t?

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 4, 2019
@nodejs-github-bot

This comment has been minimized.

@addaleaxaddaleax changed the title src: use unique_ptr for loop in node_watchdogsrc: do not use pointer for loop in node_watchdogJun 9, 2019
@addaleax

Copy link
Copy Markdown
MemberAuthor

@bnoordhuis Hm yeah, don’t know why I didn’t do that 😄 Updated!

@addaleax
addaleaxforce-pushed the watchdog-unique-ptr branch from 31a0455 to 9a6151fCompareJune 9, 2019 18:06
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@Trott

Copy link
Copy Markdown
Member

@Trott

Copy link
Copy Markdown
Member

Landed in 25399e4

@TrottTrott closed this Jun 13, 2019
Trott pushed a commit to Trott/io.js that referenced this pull request Jun 13, 2019
PR-URL: nodejs#28020
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
BridgeAR pushed a commit that referenced this pull request Jun 17, 2019
PR-URL: #28020
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
@BridgeARBridgeAR mentioned this pull request Jun 17, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs 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++.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@addaleax@nodejs-github-bot@Trott@bnoordhuis@jasnell@cjihrig@richardlau@BridgeAR