summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorRUANG (James Roy) <rruuaanng@outlook.com>2024-12-19 13:51:21 (GMT)
committerGitHub <noreply@github.com>2024-12-19 13:51:21 (GMT)
commitea578fc6d310c85538aefbb900a326c5c3424dd5 (patch)
tree4dae44104eab2957e678d786d7e004e293569275 /Doc/library
parent19c5134d57764d3db7b1cacec4f090c74849a5c1 (diff)
downloadcpython-ea578fc6d310c85538aefbb900a326c5c3424dd5.zip
cpython-ea578fc6d310c85538aefbb900a326c5c3424dd5.tar.gz
cpython-ea578fc6d310c85538aefbb900a326c5c3424dd5.tar.bz2
gh-127688: Add `SCHED_DEADLINE` and `SCHED_NORMAL` constants to `os` module (GH-127689)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index dfe5ef0..69e6192 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -5420,10 +5420,22 @@ operating system.
Scheduling policy for CPU-intensive processes that tries to preserve
interactivity on the rest of the computer.
+.. data:: SCHED_DEADLINE
+
+ Scheduling policy for tasks with deadline constraints.
+
+ .. versionadded:: next
+
.. data:: SCHED_IDLE
Scheduling policy for extremely low priority background tasks.
+.. data:: SCHED_NORMAL
+
+ Alias for :data:`SCHED_OTHER`.
+
+ .. versionadded:: next
+
.. data:: SCHED_SPORADIC
Scheduling policy for sporadic server programs.