Material for the threading and multiprocessing in python workshop (Fall of 2018).
Learning Outcomes for attendees of this workshop:
- Able to understand the differences between multithreading and multiprocessing.
- Know which tasks are better suited for multithreading or multiprocessing
- Able to use threading and multiprocessing packages for appropriately suited tasks.
- Overview:
- Threading:
- c-extension thread enabled libraries (numpy & scipy)
- threading package
- Multiprocessing:
- Process class
- Pool class
- Other parallel libraries: