April 4, 2021 | os, osdev, programming, synchronization

tags Operating Systems Programming Computer Science Notes from the Little book of Semaphores (Downey 2008). Shared variables # Many applications enforce the constraint that the reader should not read until after the writer writes, this is because the reader may read an old value if the writer hasn’t written to the variable yet A thread may also interact as concurrent writes (two or more writers) and concurrent updates (two or more threads performing a read followed by a write) Think about what paths (execution paths) are possible and what are the possible effects. ...