... | @@ -1051,3 +1051,11 @@ drwxrwxr-x tests |
... | @@ -1051,3 +1051,11 @@ drwxrwxr-x tests |
|
# Threads & Processes
|
|
# Threads & Processes
|
|
|
|
|
|
This section will focus on a [single example](https://git-community.cs.odu.edu/tkennedy/python-workshop/-/blob/master/cs330-Python3-Toys/Example-3-parallel-coin-flip/coin_flip.py).
|
|
This section will focus on a [single example](https://git-community.cs.odu.edu/tkennedy/python-workshop/-/blob/master/cs330-Python3-Toys/Example-3-parallel-coin-flip/coin_flip.py).
|
|
|
|
|
|
|
|
**Draft**
|
|
|
|
|
|
|
|
- GIL
|
|
|
|
- Threads vs Processes
|
|
|
|
- Futures
|
|
|
|
- `ProcessPoolExecutor
|
|
|
|
- Simple timer with `datetime` |