summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-05-31 17:23:29 (GMT)
committerGitHub <noreply@github.com>2024-05-31 17:23:29 (GMT)
commit9bc6045842ebc91ec48ab163a9e1e8644231607c (patch)
tree02c2cd737e9009adb460b70a69907dbad1910051
parentf3fc800d5f17b144a752a262102b750bedcdaa14 (diff)
downloadcpython-9bc6045842ebc91ec48ab163a9e1e8644231607c.zip
cpython-9bc6045842ebc91ec48ab163a9e1e8644231607c.tar.gz
cpython-9bc6045842ebc91ec48ab163a9e1e8644231607c.tar.bz2
doc: Add glossary entry for "free threading" (#119865)
-rw-r--r--Doc/glossary.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 1e5bafc..ae9949b 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -438,6 +438,12 @@ Glossary
division. Note that ``(-11) // 4`` is ``-3`` because that is ``-2.75``
rounded *downward*. See :pep:`238`.
+ free threading
+ A threading model where multiple threads can run Python bytecode
+ simultaneously within the same interpreter. This is in contrast to
+ the :term:`global interpreter lock` which allows only one thread to
+ execute Python bytecode at a time. See :pep:`703`.
+
function
A series of statements which returns some value to a caller. It can also
be passed zero or more :term:`arguments <argument>` which may be used in