Fichas
Chapter 5 Review Questions
Fichas del conjunto (13)
- 1List four design issues for which the concept of concurrency is relevant.TODO
- 2What are three contexts in which concurrency arises?TODO
- 3What is a race condition?TODO
- 4List three degrees of awareness between process and briefly define each.Unaware: processes compete for resources.
Indirectly aware: processes cooperate with shared objects.
Directly aware: processes communicate with each other. - 5What is the distinction between competing processes and cooperating processes?TODO
- 6List the three control problems associated with competing processes and briefly define each.Deadlock, starvation
- 7What is starvation with respect to concurrency control by mutual exclusion?TODO
- 8What operation can be performed on a semaphore?Initialize, Acquire (P, wait, decrease) and release (V, signal, increase).
- 9What is the difference between binary and general semaphore?Binary (1 or 0) semaphore only allows one process to acquire. Alternative to mutual exclusion (mutex).
- 10What is the key difference between a mutex and a binary semaphore?Only difference is that in mutex the process that locked must unlock.
- 11Which characteristics of monitors mark them as high-level synchronization tools?TODO
- 12Compare direct and indirect addressing with respect to message passing.TODO
- 13What condition are generally associated with the readers/writers problem?Race condition
Información
- Descripción
- Bachillerato (Fundamentals of Operating Systems) Computer Science Fichas sobre Chapter 5 Review Questions, creado por Kristján Ólafsson el 15/04/2016.
- Creado por
- Kristján Ólafsson
- Visitas
- 7
- Valoración