synch lock mutex Flashcards
________ restricts access to a shared variable to only one thread at any given time.
mutual exclusion
________ is characteristic of deadlocked systems.
circular waiting
The strategy of denying the “circular-wait” condition ________.
creates a linear ordering of resources
The solution to the Dining Philosophers problem must \_\_\_\_\_\_\_\_. prevent deadlock prevent starvation ensure mutual exclusion all of the above
all of the above
If a process is given the task of waiting for an event to occur, and if the system includes no provision for signaling that event, then we have ________.
one process deadlock
________ code is not modified as it executes and may be shared by several processes simultaneously.
re entrant
Preventing more than one thread from accessing a shared variable simultaneously is known as ________ access to the shared variable.
serializing
Threads that operate independently of one another but must occasionally interact to perform cooperative tasks are said to execute ________.
asynchronously