Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-124210: Add introduction to threading docs #127046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
May 16, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Mention free-threaded builds
  • Loading branch information
donBarbos committed Feb 3, 2025
commit 409b4d9433fc11972e925445537ed2d3474d3a6b
4 changes: 4 additions & 0 deletions 4 Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ threading when it comes to CPU-bound tasks, as only one thread can execute
Python bytecode at a time. Despite this, threads remain a useful tool for
achieving concurrency in many scenarios.

*(Experimental free-threaded builds of CPython disable the :term:`GIL`,
enabling true parallel execution of threads, but this feature is still under
development.)*

A typical use case for :mod:`threading` includes managing a pool of worker
threads that can process multiple tasks concurrently. This basic example of
donBarbos marked this conversation as resolved.
Show resolved Hide resolved
creating and starting threads using :class:`~threading.Thread`::
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.