Customer Service Chat
Get quote & make Payment
what is deadlock ?Differentiate two types of resources ?, Basic Computer Science
• A set of process is in a deadlock state if each process in the group is waiting for an event that can be caused by only another process in the set. In other words, each member of the group of deadlock processes is waiting for a resource that can be released only by a deadlock process. Not any of the processes can run, none of them can release any resources, and not any of them can be awakened. It is significant to note that the number of processes and the number and kind of resources possessed and requested are unimportant.
• The simplest instance of deadlock is where process 1 has been allocated non-shareable resources A, say, a tap drive, and process 2 has be owed non-sharable resource B, say, a printer. At present, if it turns out that process 1 needs resource B (printer) to proceed and process 2 needs resource A (the tape drive) to proceed and these are the only two processes in the system, each one is blocked the other and all valuable work in the system stops. This state is termed deadlock. The system is in deadlock state since each process holds a resource being requested by the other process neither process is willing to release the resource it holds.
• The resources may be either physical or logical. Instances of physical resources are Printers, Tape Drivers, Memory Space, and CPU Cycles. Instances of logical resources are Files, Semaphores, and Monitors.
• Preemptable and Nonpreemptable Resources
Resources come in two types: preemptable and nonpreemptable.
A preemptable resource is one that can be taken away from the process with no ill effects. Memory is an instance of a preemptable resource. Alternatively, a nonpreemptable resource is one that cannot be taken away from process (with no causing ill effect). For instance, CD resources are not preemptable at an arbitrary instant.
Reallocating resources can determine deadlocks that involve preemptable resources. Deadlocks that occupy nonpreemptable resources are hard to deal with.
Posted Date: 5/3/2012 1:18:06 AM | Location : United States
Ask an Expert
what is deadlock ?Differentiate two types of resources ?, Assignment Help, Ask Question on what is deadlock ?Differentiate two types of resources ?, Get Answer, Expert's Help, what is deadlock ?Differentiate two types of resources ? Discussions
Write discussion on what is deadlock ?Differentiate two types of resources ?
Your posts are moderated
Write your message here..
Quotation in Python, Python allows single (''), double (") and triple (''''...
Python allows single (''), double (") and triple ('''''' or """) quotes to indicate string literals, as long as the similar type of quote starts and ends the string. The triple quo
Java programming, what are the phases of oo progarmming or java?
what are the phases of oo progarmming or java?
Database reports, The first report, Report #1, is to be an ordered list of ...
The first report, Report #1, is to be an ordered list of the contents of the database, sorted in ascending order by a major field. Report #1 is to include all of the fields and rec
Explain the important concepts of modern cpu, Question 1 Explain the impor...
Question 1 Explain the important concepts of modern CPU CISC vs. RISC CPUs Circuit Size and Die Size Processor Speed Processor Cooling System Clocks Architect
The central processing unit (cpu), THE CENTRAL PROCESSING UNIT (CPU): T...
THE CENTRAL PROCESSING UNIT (CPU): The CPU is the heart of any computing system. It executes the individual machine instructions, which make up a program. The CPU is formed fr
Software Exploration, I need to review 2 different softwares one is windows...
I need to review 2 different softwares one is windows based and the other is Linux Based. Please Ask for further details
Technology partnerships, Technology Partnerships: Such agreements prov...
Technology Partnerships: Such agreements provide the consumer un-limited access to vendor's technology. Such contracts are typically multi-year in nature where the consumer pa
SG Fuel power supply, Where can I find power supply HIPRO HP-W460GC33 for S...
Where can I find power supply HIPRO HP-W460GC33 for Silicon Graphics Fuel computer
Visual Basic 2012, Can someone help me write a code for force = mass * acce...
Can someone help me write a code for force = mass * acceleration.
REMOTE DESKTOP, I WANT TO CONNECT A PC WIYH MY PC THROUGH REMOTE DESKTOP. W...
I WANT TO CONNECT A PC WIYH MY PC THROUGH REMOTE DESKTOP. WHAT I DO TELL ME PLEASE
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.