diff options
author | Christian Franke <christian.franke@t-online.de> | 2025-03-18 12:15:12 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2025-03-18 16:39:28 +0100 |
commit | 57cb4dcb942f6325c5e03d4c072e384b52a41e17 (patch) | |
tree | da8bbf743e8f904623192271f619742401036e5e | |
parent | 81130174f49f10aab4858d93069b5a18a8aace7e (diff) | |
download | newlib-57cb4dcb942f6325c5e03d4c072e384b52a41e17.zip newlib-57cb4dcb942f6325c5e03d4c072e384b52a41e17.tar.gz newlib-57cb4dcb942f6325c5e03d4c072e384b52a41e17.tar.bz2 |
Cygwin: doc: rename sched_setpolicy(2) to sched_setscheduler(2)cygwin-3.6.0
The function sched_setpolicy(2) does not exist.
Fixes: 757424f74400 ("Cygwin: doc: document sched_setpolicy(2) and priority mapping")
Signed-off-by: Christian Franke <christian.franke@t-online.de>
-rw-r--r-- | winsup/doc/posix.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 748f243..d4a4e0d 100644 --- a/winsup/doc/posix.xml +++ b/winsup/doc/posix.xml @@ -1917,7 +1917,7 @@ atomic either. Over-allocation with FALLOC_FL_KEEP_SIZE is only temporary on Windows until the last handle to the file is closed. Over-allocation on sparse files is entirely ignored on Windows.</para> -<para><function>sched_setpolicy</function> only emulates API behavior +<para><function>sched_setscheduler</function> only emulates API behavior because Windows does not offer alternative scheduling policies. If <literal>SCHED_OTHER</literal> or <literal>SCHED_BATCH</literal> is selected, the Windows priority is set according to the nice value. @@ -1931,7 +1931,7 @@ policies and negative nice values are dropped on <function>fork</function>.</para> <para><function>nice</function>, <function>setpriority</function>, -<function>sched_setparam</function> and <function>sched_setpolicy</function> +<function>sched_setparam</function> and <function>sched_setscheduler</function> map the nice value (<literal>SCHED_OTHER</literal>, <literal>SCHED_BATCH</literal>) or the <literal>sched_priority</literal> (<literal>SCHED_FIFO</literal>, <literal>SCHED_RR</literal>) to Windows |