1/9
These flashcards cover key concepts from the lecture about managing synchronization between writers and readers in programming.
Spurious Wake Ups
Unnecessary wake ups of threads that do not affect program correctness but can impact performance.
Mutex
A mutual exclusion object that prevents simultaneous access to a shared resource.
Condition Variable
A synchronization primitive that enables threads to wait until a particular condition becomes true.
Broadcast Operation
A method used to wake up all threads waiting on a condition variable.
Wait Queue
A queue of threads that are waiting for a condition or lock to become available.
Lock Counter
A counter to manage the ownership and access of mutex locks.
Resource Counter
A counter used to track shared resources protected by a mutex.
Correctness of Program
The assurance that a program adheres to its specifications and behaves as intended.
Context Switching
The process of storing and restoring the state of a CPU so that multiple processes can share a single CPU resource.
Signal Operation
A method to wake up one waiting thread on a condition variable.