Студопедия
Случайная страница | ТОМ-1 | ТОМ-2 | ТОМ-3
АвтомобилиАстрономияБиологияГеографияДом и садДругие языкиДругоеИнформатика
ИсторияКультураЛитератураЛогикаМатематикаМедицинаМеталлургияМеханика
ОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРелигияРиторика
СоциологияСпортСтроительствоТехнологияТуризмФизикаФилософияФинансы
ХимияЧерчениеЭкологияЭкономикаЭлектроника

Define deadlock avoidance scheme.

Читайте также:
  1. B) Define the meanings of the idioms from the context, translate the sentences into Ukrainian.
  2. Come to a deadlock ins Stocken geraten: Thetalks came to a
  3. Compromise and deadlock
  4. Define the art technique with the help of words and definitions given in the first column.
  5. Define your purpose
  6. Define your values

Show the type of semaphores (choose incorrect one)

counting, general, strong weak

5. What is the monitor?

This combination allows for tight synchronization between processes.

Blocking send, blocking receive: Both the sender and receiver are blocked until the message is delivered; this is sometimes referred to as a rendezvous

7. What is atomic operation?

A sequence of one or more statements that appears to be indivisible; that is, no other process can see an intermediate state or interrupt the operation.

8. Atomic instructions

I. Compare

9. What is true about Multiprogramming and Multiprocessing

I. Multiprogramming is a management of multiple processes within a uniprocessor system.

II. Multiprocessing is a management of multiple processes within a multiprocessor.

III. Multiprogramming is the same as Multiprocessing

10. Permanent locking of a set of processes that either compete for system resources or communicate with each other.

Dedlock

11. Two general categories of resources.

12. What are the examples of reusable resources?

include processors, I/O channels, main and secondary memory, devices, and data structures such as files, databases, and semaphores.

Define deadlock avoidance scheme.

A scheme that eliminates system deadlocks is called either a deadlock-prevention

scheme or a deadlock-avoidance scheme. Although the difference is not considered to

be essential, following the convention of [4] these schemes are distinguished as

follows: If such a scheme does not use any advance information about the resource

use of processes, it is called a deadlock-prevention scheme; otherwise, it is called a

deadlock-avoidance scheme.

14. Which condition is sufficient for a deadlock to actually take place (when 3 conditions are met)?

Prevention,avoidance,detection

15. What is the major advantage of deadlock detection?

16. What is the major disadvantage of deadlock detection?

Inherent preemption losses


Дата добавления: 2015-10-30; просмотров: 141 | Нарушение авторских прав


Читайте в этой же книге: Глава четвертая | Глава седьмая | Глава восьмая | Глава девятая | Часть третья ИЗМЕНА | Глава четвертая | Глава седьмая | Глава восьмая | Глава девятая | Глава десятая |
<== предыдущая страница | следующая страница ==>
Комментарии от переводчика| Three general approaches for dealing with deadlock.

mybiblioteka.su - 2015-2024 год. (0.005 сек.)