Python
Outline
Here is a basic outline of the steps to follow to complete this example.
- Clone Starter Code from GitHub
git clone <url> python
-
Update
ParallelOne
to use 4 threads. -
Take a screenshot showing a race condition.
-
Update
ParallelOne
to use a lock. -
Take a screenshot showing no race condition.
-
Update
ParallelTwo
to use blocking and an arbitrary number of threads. -
Run several times with different number of threads (1 - 10) and graph results.
-
Write in
README.md
to answer two questions -
When complete, use Git to commit and push updated code.
git add .
git commit -m "Example Complete"
git push
- On GitHub, create a release tag and submit URL to Canvas for grading.