Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 665dc28

Browse files
committed
Doc: mention that Linux cgroups are ignored
1 parent 984a978 commit 665dc28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/os.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5163,6 +5163,9 @@ Miscellaneous System Information
51635163
``len(os.sched_getaffinity(0))``, otherwise just return
51645164
``cpu_count(usable=False)``.
51655165

5166+
Linux control groups, *cgroups*, are not taken in account to get the number
5167+
of logical CPUs.
5168+
51665169
.. versionchanged:: 3.13
51675170
Add *usable* parameter.
51685171

0 commit comments

Comments
 (0)