FlashKeepers

Computer Science · College · College and University

Operating Systems, Unit 4: Process Synchronization

Operating Systems, unit: Process Synchronization. Core concepts, terminology, and worked-example cues a college student meets for this unit, building on prior units without repeating them. Front: a term, concept, or short problem cue. Back: the definition, explanation, or answer.

About this set

38 basic cards for College Computer Science. Set 4 of 8 in Operating Systems. It opens with "What is process synchronization?" and "What is a critical section?". Study it alongside the other College sets below.

38 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is process synchronization?
Show answerCoordinating the execution of multiple processes or threads that share resources
What is a critical section?
Show answerA segment of code that accesses shared resources and must not be executed by more than one process at a time
What is mutual exclusion?
Show answerEnsuring that only one process or thread can execute a critical section at a time
What is a race condition?
Show answerAn error occurring when the outcome depends on the uncontrolled timing or interleaving of operations
What is a mutex (mutual exclusion lock)?
Show answerA synchronization tool that allows only one thread to access a resource at a time
What is a semaphore?
Show answerA synchronization variable used to control access to a shared resource, using signal and wait operations
What is a binary semaphore?
Show answerA semaphore that can only take values 0 or 1, functioning like a simple lock
What is a counting semaphore?
Show answerA semaphore that can take a range of values, tracking the number of available instances of a resource
What operations are used with a classic semaphore?
Show answerWait (P, decrement) and Signal (V, increment)
What is a monitor, as a synchronization construct?
Show answerA high-level construct bundling shared data with the procedures that safely access it
What is the producer-consumer problem?
Show answerA classic synchronization problem where producers generate data and consumers process it from a shared buffer
What is the readers-writers problem?
Show answerA classic synchronization problem balancing shared read access with exclusive write access to data
What is a spinlock?
Show answerA lock where a thread repeatedly checks in a loop ('busy waits') until the lock becomes available
What is busy waiting?
Show answerContinuously checking a condition in a loop, wasting CPU cycles while waiting
What is atomicity, in the context of concurrent operations?
Show answerAn operation that completes entirely or not at all, with no partial or interrupted state visible to others

23 more cards in the app

Study this set free