Skip to content

Commit b721891

Browse files
bzozcjihrig
authored andcommitted
win,doc: improve uv_os_setpriority() documentation
Refs: nodejs/node#22817 PR-URL: #1985 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
1 parent 57b3363 commit b721891

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/src/misc.rst

+4
Original file line numberDiff line numberDiff line change
@@ -544,4 +544,8 @@ API
544544
process priority, the result will equal one of the `UV_PRIORITY`
545545
constants, and not necessarily the exact value of `priority`.
546546
547+
.. note::
548+
On Windows, setting `PRIORITY_HIGHEST` will only work for elevated user,
549+
for others it will be silently reduced to `PRIORITY_HIGH`.
550+
547551
.. versionadded:: 1.23.0

0 commit comments

Comments
 (0)