Processes and Threads
suggest changeMost programs are executed line by line, in a single thread of one process. Threads are additional flows of execution inside that same process. They are not extra processes, and threads alone do not run Python bytecode on several processors at once. Separate processes are what run work on more than one processor. This topic documents threads and processes in Python.
Sharing State Between Processes
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents