mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
This commit is contained in:
parent
a670fcc692
commit
9e0f462cb2
1 changed files with 2 additions and 2 deletions
|
@ -31,10 +31,10 @@ The :mod:`dummy_threading` module is provided for situations where
|
||||||
|
|
||||||
.. impl-detail::
|
.. impl-detail::
|
||||||
|
|
||||||
Due to the :term:`Global Interpreter Lock`, in CPython only one thread
|
In CPython, due to the :term:`Global Interpreter Lock`, only one thread
|
||||||
can execute Python code at once (even though certain performance-oriented
|
can execute Python code at once (even though certain performance-oriented
|
||||||
libraries might overcome this limitation).
|
libraries might overcome this limitation).
|
||||||
If you want your application to make better of use of the computational
|
If you want your application to make better use of the computational
|
||||||
resources of multi-core machines, you are advised to use
|
resources of multi-core machines, you are advised to use
|
||||||
:mod:`multiprocessing`. However, threading is still an appropriate model
|
:mod:`multiprocessing`. However, threading is still an appropriate model
|
||||||
if you want to run multiple I/O-bound tasks simultaneously.
|
if you want to run multiple I/O-bound tasks simultaneously.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue