mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
This commit is contained in:
parent
fa556bd75c
commit
15f3d1e266
1 changed files with 4 additions and 0 deletions
|
@ -3153,6 +3153,10 @@ operating system.
|
|||
Return the set of CPUs the process with PID *pid* (or the current process
|
||||
if zero) is restricted to.
|
||||
|
||||
.. seealso::
|
||||
:func:`multiprocessing.cpu_count` returns the number of CPUs in the
|
||||
system.
|
||||
|
||||
|
||||
.. _os-path:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue