Intro to Threads and Processes in Python

Process vs ThreadA process is an instance of program (e.g. Jupyter notebook, Python interpreter). Processes spawn threads (sub-processes) to handle subtasks like reading keystrokes, loading HTML pages, saving files. Threads live inside processes and share the same memory space.     阅读全文
Junyangz's avatar
Junyangz 5月 04, 2019