diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2018-09-12 11:07:00 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-09-19 08:02:18 +0200 |
commit | 6e746f1a55e5d94f1a8330d3436a64ed8d6f639b (patch) | |
tree | 366c3bce91dc99c6411e820a10b7de2e857f0ebb /doc | |
parent | a1381fab8a1a35b3af9cf1cfb2f40b3a6f28eb5c (diff) | |
download | android-node-v8-6e746f1a55e5d94f1a8330d3436a64ed8d6f639b.tar.gz android-node-v8-6e746f1a55e5d94f1a8330d3436a64ed8d6f639b.tar.bz2 android-node-v8-6e746f1a55e5d94f1a8330d3436a64ed8d6f639b.zip |
doc, win: improve os.setPriority documentation
PR-URL: https://github.com/nodejs/node/pull/22817
Fixes: https://github.com/nodejs/node/issues/22799
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/os.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/os.md b/doc/api/os.md index a0ff5e7ff1..ad5736d769 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -371,6 +371,9 @@ priority classes, `priority` is mapped to one of six priority constants in mapping may cause the return value to be slightly different on Windows. To avoid confusion, it is recommended to set `priority` to one of the priority constants. +On Windows setting priority to `PRIORITY_HIGHEST` requires elevated user, +otherwise the set priority will be silently reduced to `PRIORITY_HIGH`. + ## os.tmpdir() <!-- YAML added: v0.9.9 |