Please enable JavaScript.
Coggle requires JavaScript to display documents.
(Define Deadlock, Describe the life cycle of a process, (Differentiate…
Define Deadlock
Bridge Crossing Example
-
-
A system may have 2 printer. And may defined to be in the same resources class if no one cares which printer prints which output
If one printer is on the ninith floor and the other is in the basement , then people on the ninith floor may not see both printers as equipment, and separate resources classes may need to be defined for each printer
-
Coffman deadlock refers to a specific condition when two or more processers are each waiting for resources in a circular chain .
Common problem in multiprocessing where many process share a specific type of mutually exclusive resource know as a software lock or soft lock
-
A set of blocked processes each holding a resource and waiting to acquire a resource hold by another in the set
-
May be like to two people who are drawing diagram , with only one pencil and one ruler between them
If one takes the pencil and other takes the rular ,a deadlock occur when the person with the pencil needs the ruler and the person needs the pencil to finish his work with the ruler
-
-
-
-
The input devices is used to provide information (or data) to the computer system: Keyboard (typing text), mouse (pointing), scanning (scanning of paper documents), microphone, etc..
The output devices are used to bring out information
from the computer system: monitor, printer, speaker
-
The SI unit of power is the watt, one joule per second
-
-
EXTERNAL DEVICE
An external device is a component that can be connected to your computer.these external components of the computer are called : peripheral input or output.it exists two types of peripheral ,input devices and output devices.
The input devices is used to provide information (or data) to the computer system : keyboard (typing text), mouse (pointing),scanning (scanning of paper documents), microphone, etc...
The output devices are used to bring out information from the computer system : monitor,printer,speaker,etc....
You can also add peripheral input/output operating in both directions : a CD-ROM, a USB key or an external hard drive for example, can store data (output) or provide data (input)
-
-
-
-
Process Concept
-
An operating system executes a variety of programs:
- Batch system – jobs
- Time-shared systems – user programs or tasks
A process includes:
- program counter
- stack
- data section
-
-
Process State
As a process executes, it changes state
-
-
-
-
-
-
-
-
-
-
-
-
-
-