Issue #12655: Mention multiprocessing.cpu_count() in os.sched_getaffinity() doc
This commit is contained in:
parent
fa556bd75c
commit
15f3d1e266
|
@ -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…
Reference in New Issue