From b721891ad4728a599f6d6671741b5b5e3b571253 Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Wed, 12 Sep 2018 11:56:04 +0200 Subject: [PATCH] win,doc: improve uv_os_setpriority() documentation Refs: https://github.com/nodejs/node/pull/22817 PR-URL: https://github.com/libuv/libuv/pull/1985 Reviewed-By: Colin Ihrig Reviewed-By: Santiago Gimeno --- docs/src/misc.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/misc.rst b/docs/src/misc.rst index 529d588c..cf4a7895 100644 --- a/docs/src/misc.rst +++ b/docs/src/misc.rst @@ -544,4 +544,8 @@ API process priority, the result will equal one of the `UV_PRIORITY` constants, and not necessarily the exact value of `priority`. + .. note:: + On Windows, setting `PRIORITY_HIGHEST` will only work for elevated user, + for others it will be silently reduced to `PRIORITY_HIGH`. + .. versionadded:: 1.23.0