GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — process: add nice() function by zokker13 · Pull Request #21675 · nodejs/node

Conversation

@zokker13

@zokker13 zokker13 commented Jul 5, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

The nice function allows us to fine-tune the process to meet desired
scheduling behavior. If our process needs less schedule time because
it is a long-running one, we can increase the nice value and cause
the scheduler to select the process not so often.

If desired, here's the technical documentation: http://man7.org/linux/man-pages/man2/nice.2.html

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gireeshpunathil and bricss reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs involving general changes in the lib/ or src/ directories. labels Jul 5, 2018
addaleax
addaleax reviewed Jul 5, 2018
View reviewed changes

@addaleax addaleax left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Looks pretty good so far … nice :)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread doc/api/process.md Outdated

@addaleax addaleax Jul 5, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Can you use REPLACEME as the placeholder here? It gets picked up by release tooling automatically

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 5, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/node_process.cc Outdated

@addaleax addaleax Jul 5, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Can you use args[0].As<Int32>()->Value()? ->Int32Value() is an operation that potentially performs a type conversion, but that’s unnecessarily complex, since we already know that it’s an Int32

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 5, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Sounds great and it's done, thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread lib/internal/process/main_thread_only.js Outdated

@addaleax addaleax Jul 5, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Can you inline typeof inc here? The engine is generally better at recognizing that pattern and can eliminate the temporary string you’d be creating here

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 5, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks for the deep insights. It is fixed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread lib/internal/process/main_thread_only.js Outdated

@addaleax addaleax Jul 5, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I think it’s a bit confusing to mix validation and the actual calls to _nice … could you separate them?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 5, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Split them up.:)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@addaleax addaleax added child_process Issues and PRs related to the child_process subsystem. semver-minor PRs that contain new features and should be released in the next minor version. process Issues and PRs related to the process subsystem. notable-change PRs with changes that should be highlighted in changelogs. and removed lib / src Issues and PRs involving general changes in the lib/ or src/ directories. child_process Issues and PRs related to the child_process subsystem. labels Jul 5, 2018
@addaleax

addaleax commented Jul 5, 2018

Copy link
Copy Markdown
Member

Also: Your author name in this commit is given as “zokker13”. Is that intended or do you prefer to be listed (changelog, git log, AUTHORS file) with some other name? People typically prefer their full name, but ultimately it’s up to you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

devsnek
devsnek reviewed Jul 5, 2018
View reviewed changes
Comment thread doc/api/process.md Outdated

This comment was marked as resolved.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

devsnek
devsnek approved these changes Jul 5, 2018
View reviewed changes
@zokker13
zokker13 force-pushed the add_nice_function branch from 84d744e to 0b5707b Compare July 5, 2018 21:52
@zokker13

zokker13 commented Jul 5, 2018

Copy link
Copy Markdown
Author

@addaleax Thanks for the review and the lightning fast response. Added your requests. Hope that "fixup" -commit is appropriate.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax
addaleax approved these changes Jul 5, 2018
View reviewed changes

@addaleax addaleax left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Great, thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
devsnek
devsnek reviewed Jul 5, 2018
View reviewed changes
Comment thread lib/internal/process/main_thread_only.js Outdated

@devsnek devsnek Jul 5, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

you can just combine this with the below

function validateInc(inc) {
  if (typeof inc === 'number') {
    validateInt32(inc, 'nice');
  } else if (inc !== undefined) {
    throw new ERR_INVALID_ARG_TYPE('nice', ['number', 'undefined'], inc);
  }
}

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 5, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Nice catch, totally missed that!
Here it is: 655894e745de20829ff40ee330557da1305f9c7e

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@addaleax

addaleax commented Jul 5, 2018

Copy link
Copy Markdown
Member

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

As a heads up, our rules will require this PR to stay open for 72 hours so people have a chance to weigh in, and you may have to update this one or two times more during that time. But as first PRs go, this is definitely a first-class example. :)

zokker13 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Trott
Trott reviewed Jul 5, 2018
View reviewed changes
Comment thread doc/api/process.md Outdated

@Trott Trott Jul 5, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This is a sentence fragment. You can make it a complete sentence by removing Though,.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@mscdex mscdex Jul 5, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

For those not familiar with the 'nice' system, the two different uses of 'increase' here might be confusing. At the very least it would be a good idea to note that increasing the 'nice' value means lowering the process priority. This is hinted at in the paragraph above this one, but I still think using 'increase' back to back here could confuse some people.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 6, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I kinda changed the entire thing: a099642629b36e908c5114227c4fd8e9c18cc12f

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread doc/api/process.md Outdated

@Trott Trott Jul 5, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Please remove **NOTE**:, the exclamation point, and use of you.

Maybe this?:

The nice value can be increased only. It can not be decreased.

...or...

The nice value can never be decreased except by the super user.

...or something like that.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 6, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Changed in a way that is (hopefully) better readable: a099642629b36e908c5114227c4fd8e9c18cc12f

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Trott

Trott commented Jul 5, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Hi, @zokker13! Welcome and thanks for the PR! I have two requests for the documentation you've added:

  • Don't use **NOTE**:. If there's something important to say, just say it.

  • Don't use you in the docs.

These (well, the second one) are noted in doc/STYLE_GUIDE.md.

zokker13 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Jul 5, 2018

Copy link
Copy Markdown
Member

Feels notable enough that pinging @nodejs/tsc seems appropriate.

Also pinging @nodejs/documentation for any other comments on the docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mscdex
mscdex reviewed Jul 5, 2018
View reviewed changes
Comment thread doc/api/process.md Outdated

@mscdex mscdex Jul 5, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This sentence is confusing as Android is about as POSIX compliant as Linux is. It would be better to leave that part out and just say that the function is not available on Windows or Android.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 6, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I added Android support for this PR: a099642629b36e908c5114227c4fd8e9c18cc12f

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mscdex
mscdex reviewed Jul 5, 2018
View reviewed changes
Comment thread doc/api/process.md Outdated

@mscdex mscdex Jul 5, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

We should include return value information here since this function always returns a value.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@zokker13 zokker13 Jul 6, 2018

Copy link
Copy Markdown
Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Check. a099642629b36e908c5114227c4fd8e9c18cc12f

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mscdex

mscdex commented Jul 5, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Is it not possible to somehow bridge nice() and Windows' priority API via libuv?

Also, from what I'm reading, Android does support nice() (which is currently(?) just a wrapper around their own setpriority()).

Fishrock123 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123

Fishrock123 commented Jul 6, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Does this work on non-linuxies? I also wonder if the underlying impl isn’t better suited for libuv.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zokker13

zokker13 commented Jul 6, 2018

Copy link
Copy Markdown
Author

@mscdex Hey,
wrapping nice for Windows seems a bit odd to me. In Windows, we have those 6'ish different process priorities we might set. It doesn't really compare to the way nice() works since we merely add increment steps there. But I'll check out libuv and see how they solve similar issues later this day.
Can't really say anything about Android though. Could you share your find to the docs?

@Fishrock123 Yes, it should work for various POSIX compliant OS'. There are subtle differences between them though. But those differences are limited to the range of the niceness. So perhaps a reference to the min/max niceness would be fitting and convenient to the user (or at least a documentation).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gireeshpunathil

gireeshpunathil commented Jul 6, 2018

Copy link
Copy Markdown
Member

[ I am just thinking aload here, please don't consider as a negative remark on the PR. ]

are there any benchmarks that provide insights on scheduling behavior and its implications on the workload with default priority? I believe most of the UNIX schedulers have special optimizations for I/O workload, so wondering whether manual modification will influence the OS logic and thereby the overall performance positively or negatively.

Also wondering about the characteristics of stream velocity / backpressure etc. under a cluster, child process, IPC toppologies when processes are running with manually preset scheduling priorities.

If we don't have these info or cannot determine, it would be worthwhile considering writing caveats in the doc (or else we can get unwanted issues that complain about not getting desired througput after altering the nice etc.) on these lines: the overall efficiency of Node programs when catering to highly interactive workloads depend on peer end points resident in the host or otherwise. So altering the nice value of the process should be performed carefully, only after running your performance benchmark under full load and realizing any desired improvements.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex

mscdex commented Jul 6, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Hey, wrapping nice for Windows seems a bit odd to me. In Windows, we have those 6'ish different process priorities we might set. It doesn't really compare to the way nice() works since we merely add increment steps there.

I imagine someone at some point will want the Windows equivalent in core because process.nice() exists for non-Windows. If we can find a way to support it from the get-go, that would be better. Maybe we don't call it nice() if we support Windows with the same function. Or perhaps we support it in some other way, via a namespace or something else.

Can't really say anything about Android though. Could you share your find to the docs?

@zokker13 https://android.googlesource.com/platform/bionic.git/+/master/libc/upstream-netbsd/lib/libc/gen/nice.c

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax

addaleax commented Jul 6, 2018

Copy link
Copy Markdown
Member

@gireeshpunathil I don’t necessarily think it’s our job to talk about these things in the docs for nice(). I don’t know if you have increasing or decreasing niceness in mind, but the former will be more common (simply because it doesn’t require privileges), and you generally only do that if you don’t really care about performance all that much.

gireeshpunathil and KoenLav reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gireeshpunathil

gireeshpunathil commented Jul 6, 2018

Copy link
Copy Markdown
Member

ok, sure!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gireeshpunathil
gireeshpunathil approved these changes Jul 6, 2018
View reviewed changes
mscdex
mscdex reviewed Jul 7, 2018
View reviewed changes
Comment thread doc/api/process.md Outdated

@mscdex mscdex Jul 7, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I don't think having this is necessary, especially since we already document Windows is not supported below this example.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mscdex
mscdex reviewed Jul 7, 2018
View reviewed changes
Comment thread lib/internal/process/main_thread_only.js Outdated

@mscdex mscdex Jul 7, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Perhaps change this so the platform check is only run once when this file is evaluated, since the process platform will not change during runtime. Example:

if (process.platform === 'win32') {
  process.nice = function nice(inc) {
    throw new ERR_METHOD_NOT_IMPLEMENTED('nice()');
  };
} else {
  process.nice = function nice(inc) {
    validateInc(inc);
    return _nice(inc);
  };
}

or something similar

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mscdex
mscdex reviewed Jul 7, 2018
View reviewed changes
Comment thread test/parallel/test-process-nice.js Outdated

@mscdex mscdex Jul 7, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This is no longer valid since we're now throwing.

However, I feel like we should just call common.skip() with an appropriate message to make it obvious that we're not testing the real implementation.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
mscdex
mscdex reviewed Jul 7, 2018
View reviewed changes
Comment thread test/parallel/test-process-nice.js Outdated

@mscdex mscdex Jul 7, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

How about also testing that passing '0' or undefined results in a finite integer being returned?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@mscdex mscdex Jul 7, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Also, we might want to test that something like process.nice(1) works as expected.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@zokker13

zokker13 commented Jul 7, 2018

Copy link
Copy Markdown
Author

Mh.. okay guys, I thought about having a more neutral function (say getpriority/setpritority) in favor of the nice function. The reason is that it doesn't really have a future on Windows and when we later add a functionality to set the priority cross-platform, nobody would use the posix function anyway.
That way the API is more clear and fewer obstacles are placed.

So I'd like to close this for now, go visit the libuv fellows and come back to implement a neutral call here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax

addaleax commented Jul 7, 2018

Copy link
Copy Markdown
Member

@zokker13 I think this PR is still in pretty good shape (I personally disagree about being inconsistent with other functions re: Windows, but, oh well). Can we mark this PR as in progress just so it doesn’t get merged, you try to work up something for libuv, and if that doesn’t pan out, we can continue where we left here?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

zokker13 added 7 commits July 7, 2018 17:03
@zokker13
process: add nice() function
c5aaa5a
The nice function allows us to fine-tune the process to meet desired
scheduling behavior. If our process needs less schedule time because
it is a long-running one, we can increase the nice value and cause
the scheduler to select the process not so often.
@zokker13
fixup: follow review comments by addaleax
a9f80d4
@zokker13
fixup: follow review comments by devsnek
cc92503
@zokker13
fixup: follow review comments by various folk
bf86dcc
@zokker13
fixup: follow review comment by devsnek
e1388f3
@zokker13
fixup: throw not implemented on win32
01b0643
@zokker13
fixup: implement doc improvements by vsemozhetbyt
aadb65b
@zokker13
zokker13 force-pushed the add_nice_function branch from bd1e086 to aadb65b Compare July 7, 2018 15:03
@zokker13

zokker13 commented Jul 7, 2018

Copy link
Copy Markdown
Author

@addaleax Ya, that sounds fine, thanks. I think the discussion alone is a good reason to go that route. Rebased just to be sure.

Perhaps @cjihrig would be so kind to guide me to the correct libuv location? The node structure is more familiar to me but libuv seems a bit mixed.

addaleax reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cjihrig

cjihrig commented Jul 7, 2018

Copy link
Copy Markdown
Contributor

would be so kind to guide me to the correct libuv location?

You'd probably want to target https://github.com/libuv/libuv/blob/v1.x/src/unix/core.c and https://github.com/libuv/libuv/blob/v1.x/src/win/util.c.

zokker13 reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax addaleax added the wip Issues and PRs that are still a work in progress. label Jul 8, 2018
@richardlau richardlau mentioned this pull request Aug 13, 2018
unix,win: add uv_os_{get,set}priority() libuv/libuv#1945
Merged
cjihrig added a commit to cjihrig/libuv that referenced this pull request Aug 15, 2018
@cjihrig
unix,win: add uv_os_{get,set}priority()
81c7742
Refs: nodejs/node#21675
PR-URL: libuv#1945
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
cjihrig added a commit to libuv/libuv that referenced this pull request Aug 15, 2018
@cjihrig
unix,win: add uv_os_{get,set}priority()
e57e071
Refs: nodejs/node#21675
PR-URL: #1945
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
@cjihrig cjihrig mentioned this pull request Aug 17, 2018
deps: upgrade to libuv 1.23.0 #22365
Merged
cjihrig added a commit to cjihrig/node that referenced this pull request Aug 20, 2018
@cjihrig
deps: upgrade to libuv 1.23.0
4e7d829
Notable changes:
- Restores compatibility with the old IPC protocol.
- Adds uv_open_osfhandle().
- Adds uv_os_{get,set}priority().

PR-URL: nodejs#22365
Fixes: nodejs#21671
Fixes: nodejs#15433
Refs: nodejs#21675
Refs: nodejs/node-addon-api#304
Refs: nodejs/abi-stable-node#318
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
targos pushed a commit that referenced this pull request Aug 21, 2018
@cjihrig @targos
deps: upgrade to libuv 1.23.0
a515104
Notable changes:
- Restores compatibility with the old IPC protocol.
- Adds uv_open_osfhandle().
- Adds uv_os_{get,set}priority().

PR-URL: #22365
Fixes: #21671
Fixes: #15433
Refs: #21675
Refs: nodejs/node-addon-api#304
Refs: nodejs/abi-stable-node#318
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
targos pushed a commit that referenced this pull request Sep 3, 2018
@cjihrig @targos
deps: upgrade to libuv 1.23.0
90e99da
Notable changes:
- Restores compatibility with the old IPC protocol.
- Adds uv_open_osfhandle().
- Adds uv_os_{get,set}priority().

PR-URL: #22365
Fixes: #21671
Fixes: #15433
Refs: #21675
Refs: nodejs/node-addon-api#304
Refs: nodejs/abi-stable-node#318
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@Fishrock123

Fishrock123 commented Sep 21, 2018

Copy link
Copy Markdown
Contributor

Superseded by the now-merged #22407

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123 Fishrock123 closed this Sep 21, 2018
MylesBorins pushed a commit to MylesBorins/node that referenced this pull request Nov 5, 2018
@cjihrig @MylesBorins
deps: upgrade to libuv 1.23.0
4633485
Notable changes:
- Restores compatibility with the old IPC protocol.
- Adds uv_open_osfhandle().
- Adds uv_os_{get,set}priority().

PR-URL: nodejs#22365
Fixes: nodejs#21671
Fixes: nodejs#15433
Refs: nodejs#21675
Refs: nodejs/node-addon-api#304
Refs: nodejs/abi-stable-node#318
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Nov 11, 2018
@cjihrig @MylesBorins
deps: upgrade to libuv 1.23.0
d9d541c
Notable changes:
- Restores compatibility with the old IPC protocol.
- Adds uv_open_osfhandle().
- Adds uv_os_{get,set}priority().

Backport-PR-URL: #24103
PR-URL: #22365
Fixes: #21671
Fixes: #15433
Refs: #21675
Refs: nodejs/node-addon-api#304
Refs: nodejs/abi-stable-node#318
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@snyk-bot snyk-bot mentioned this pull request Apr 1, 2020
[Snyk] Upgrade: gatsby, gatsby-image, gatsby-plugin-catch-links, gatsby-plugin-manifest, gatsby-plugin-no-sourcemaps, gatsby-plugin-offline, gatsby-plugin-react-helmet, gatsby-plugin-sharp, gatsby-plugin-styled-components, gatsby-remark-autolink-headers, gatsby-remark-prismjs, gatsby-source-filesystem, gatsby-transformer-remark O330oei/node#10
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Trott Trott Trott left review comments
@mcollina mcollina mcollina approved these changes
@addaleax addaleax addaleax approved these changes
@gireeshpunathil gireeshpunathil gireeshpunathil approved these changes
+3 more reviewers
@mscdex mscdex mscdex left review comments
@devsnek devsnek devsnek approved these changes
@vsemozhetbyt vsemozhetbyt vsemozhetbyt left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. notable-change PRs with changes that should be highlighted in changelogs. process Issues and PRs related to the process subsystem. semver-minor PRs that contain new features and should be released in the next minor version. wip Issues and PRs that are still a work in progress.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

14 participants

@zokker13 @addaleax @Trott @mscdex @Fishrock123 @gireeshpunathil @bzoz @mcollina @cjihrig @richardlau @vsemozhetbyt @ofrobots @devsnek @nodejs-github-bot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.