Skip to content

gh-145912: Add a multi-threaded programming HOWTO - #162624

Draft
ngoldbaum wants to merge 5 commits into
python:mainfrom
ngoldbaum:multi-threading-howto
Draft

ngoldbaum wants to merge 5 commits into
python:mainfrom
ngoldbaum:multi-threading-howto

Conversation

@ngoldbaum

@ngoldbaum ngoldbaum commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Part of #145912.

Adds a practical introduction to writing correct multi-threaded Python code, covering race conditions, sharing data, and coordinating threads on both default and free-threaded builds.

Opening as a draft for feedback on the scope and structure and to get a docs preview; several sections are still outlines.

@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #36164738 | 📁 Comparing 049fd33 against main (4b66b87)

  🔍 Preview build  

3 files changed
+ howto/multi-threading.html
± glossary.html
± howto/index.html

1 similar comment
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #36164738 | 📁 Comparing 049fd33 against main (4b66b87)

  🔍 Preview build  

3 files changed
+ howto/multi-threading.html
± glossary.html
± howto/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-free-threading

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant