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..
Convert string to super ascii, A string S is said to be "Super ASCII", if i...
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''''''''a''''''''-'''''''
Computer architecture, speed up factor for superscalar architecture
speed up factor for superscalar architecture
cpp programming assignment help, wrap that computes a customer water bill....
wrap that computes a customer water bill. The bill include Rs.100 water demand charge + a consumption charge of Rs.1.5 for every thousand gallons used. Consumption is figured from
Functions, each of the following functions has the form f(x ) = (ax+b) mod ...
each of the following functions has the form f(x ) = (ax+b) mod n. assume that each function has type N base n arrow N base n, so that we can think of f as a cipher for an alphabet
Flowchart, create a flowchart showing average score for the 3 quizzes assum...
create a flowchart showing average score for the 3 quizzes assume that there are 3 sections each having 5 students the only valid number to be entered is 1-100 for the quizzes shou
Represent the user interface, Question: CarRide.com is the web portal t...
Question: CarRide.com is the web portal to CarRide Ltd; a car rental company that makes full use of technological advances to make sure you enjoy the ride with your rental car.
Comp 100, I have an account in my www.itlab.com and i have a test and it s...
I have an account in my www.itlab.com and i have a test and it should do tonight, so do you have any one to help me and do this test and it is about excel
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
Types of printers, Types of Printers 1. Impact printers The impact...
Types of Printers 1. Impact printers The impact printers produce the image through a mechanism of striking on the stationary. 2. Line Printer This type of printer
Html, a program to create htmlpage
a program to create htmlpage
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
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.