Skip to content

Commit 409b4d9

Browse files
committed
Mention free-threaded builds
1 parent 2911537 commit 409b4d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/threading.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ threading when it comes to CPU-bound tasks, as only one thread can execute
6565
Python bytecode at a time. Despite this, threads remain a useful tool for
6666
achieving concurrency in many scenarios.
6767

68+
*(Experimental free-threaded builds of CPython disable the :term:`GIL`,
69+
enabling true parallel execution of threads, but this feature is still under
70+
development.)*
71+
6872
A typical use case for :mod:`threading` includes managing a pool of worker
6973
threads that can process multiple tasks concurrently. This basic example of
7074
creating and starting threads using :class:`~threading.Thread`::

0 commit comments

Comments
 (0)