mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +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
|
Return the set of CPUs the process with PID *pid* (or the current process
|
||||||
if zero) is restricted to.
|
if zero) is restricted to.
|
||||||
|
|
||||||
|
.. seealso::
|
||||||
|
:func:`multiprocessing.cpu_count` returns the number of CPUs in the
|
||||||
|
system.
|
||||||
|
|
||||||
|
|
||||||
.. _os-path:
|
.. _os-path:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue