In-class notes for 09/14/2020
CS 273 (OS), Fall 2020
HW6 assignment, for Monday
Try pthreads programming (work from
pthreads.c
)IPC - (based on today + reading)
Locating race conditions in code
Semaphores - (based on today + reading)
Race conditions
Lab prep for virtual machines lab - Let me know sooner rather than later if your laptop doesn't have enough capacity, so we can look for another solution
Dining Philosophers example, continued
IPC strategies
Definitions
Inadequacy of
sleep()
/wakeup()
Solutions, e.g., Semaphores (which can check a condition and block caller if necessary, in a single operation)
< >