Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Doc/glossary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,19 @@ Glossary
See also :term:`binary file` for a file object able to read and write
:term:`bytes-like objects <bytes-like object>`.

thread
An independent flow of execution within a process. Every Python
program has at least one thread, the *main thread*, and a program
that never starts another is *single-threaded*. A *multi-threaded*
program starts more threads, either directly with the
:mod:`threading` module or indirectly through functionality provided
by a library, such as :class:`concurrent.futures.ThreadPoolExecutor`.
All threads in a process share the same memory, so they can access
the same objects.

See also :term:`concurrency`, :term:`parallelism` and
:term:`thread-safe`.

thread state

The information used by the :term:`CPython` runtime to run in an OS thread.
Expand Down
2 changes: 2 additions & 0 deletions Doc/howto/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Python Library Reference.
functional.rst
logging.rst
logging-cookbook.rst
multi-threading.rst
regex.rst
sockets.rst
sorting.rst
Expand Down Expand Up @@ -51,6 +52,7 @@ General:
* :ref:`ipaddress-howto`
* :ref:`logging-howto`
* :ref:`logging-cookbook`
* :ref:`multi-threading-howto`
* :ref:`regex-howto`
* :ref:`sortinghowto`
* :ref:`unicode-howto`
Expand Down
Loading
Loading