Lecture
Readings (Do before class):
The Free Lunch is Over
Cooperating sequential processes
by Dijkstra
Slides
Concurrency
In-Class Activity
Activity
Audio Recording
To be posted
Code Examples
thread1.c
thread2.c
thread3.c
thread4.c
semaphore.c
semaphore2.c
Additional Resources
Think OS - Chapter 11 Semaphores
Additional pthreads examples to try
Lab
Multiprocessing Artists
Do a 'git pull' on the monorepo to obtain the lab.