Files

9 lines
643 B
Markdown
Raw Permalink Normal View History

2024-07-31 23:32:20 +01:00
# Threading
2026-01-08 13:43:07 +01:00
[Multithreading](https://roadmap.sh/python/multithreading) allows multiple threads within a single process. However, because of GIL, threads cannot run in parallel on different cores, which makes multithreading suitable for I/O tasks (e.g., network requests) but not for computational tasks.
2024-07-31 23:32:20 +01:00
2025-09-10 13:23:03 +01:00
Visit the following resources to learn more:
2024-07-31 23:32:20 +01:00
- [@official@Python Threading Library](https://docs.python.org/3/library/threading.html)
2026-01-08 13:43:07 +01:00
- [@article@Python Multithreading: The Most Practical Intro](https://roadmap.sh/python/multithreading)
2025-09-10 13:23:03 +01:00
- [@article@Introduction to Threading in Python](https://realpython.com/intro-to-python-threading/)