aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorXu Meng <mengxumx@cn.ibm.com>2020-01-20 02:17:44 -0600
committerRichard Lau <riclau@uk.ibm.com>2020-04-06 09:22:24 -0400
commitd21f5aeab0a4b6193f13640471cde405579f9c69 (patch)
treeef0f76373d0cc25d4ea3f947b77babe0b6aadc5f /docs/src
parent0e8ff951f3ed85039c67024733bc3dded84010e6 (diff)
downloadlibuv-d21f5aeab0a4b6193f13640471cde405579f9c69.tar.gz
libuv-d21f5aeab0a4b6193f13640471cde405579f9c69.zip
ibmi: set the highest process priority to -10
On IBMi PASE, the highest process priority is -10. PR-URL: https://github.com/libuv/libuv/pull/2642 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/misc.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/src/misc.rst b/docs/src/misc.rst
index d9bf3aef..8515cdbc 100644
--- a/docs/src/misc.rst
+++ b/docs/src/misc.rst
@@ -649,6 +649,16 @@ API
On Windows, setting `PRIORITY_HIGHEST` will only work for elevated user,
for others it will be silently reduced to `PRIORITY_HIGH`.
+ .. note::
+ On IBM i PASE, the highest process priority is -10. The constant
+ `UV_PRIORITY_HIGHEST` is -10, `UV_PRIORITY_HIGH` is -7,
+ `UV_PRIORITY_ABOVE_NORMAL` is -4, `UV_PRIORITY_NORMAL` is 0,
+ `UV_PRIORITY_BELOW_NORMAL` is 15 and `UV_PRIORITY_LOW` is 39.
+
+ .. note::
+ On IBM i PASE, you are not allowed to change your priority unless you
+ have the *JOBCTL special authority (even to lower it).
+
.. versionadded:: 1.23.0
.. c:function:: int uv_os_uname(uv_utsname_t* buffer)