We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Graded Discussion Board for the course 'Operating Systems will be open on thursday 26th feb, 2015 to 27th feb,2015

Dear Students,


Graded Discussion Board of CS 604 is announced now, and its due date is 26th Feb, 2015 to 27th Feb, 2015, be ready for that.

Topic is: "
Is it possible to have a deadlock condition with a single process?  Explain and justify your answer with reference to deadlock prevention method".

share your ideas friends!

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2767

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

right said 

Deadlock prevention techniques and algorithms
Name Coffman conditions Patented Description
Banker's algorithm Mutual exclusion N/A The Banker's algorithm is a resource allocation and deadlockavoidance algorithm developed by Edsger Dijkstra.
Preventing recursive locks Mutual exclusion No This prevents a single thread from entering the same lock more than once.

thanks for info,,,,

according to my search there is no way any possibilty to have a deadlock condition in a single process.only in single process ,The deadlock includes in a circular “hold-and-wait” condition between two or more processes,It is not possible to have a deadlock involving . so “one” process cannot hold a resource, yet be waiting for another resource that it is holding. moreover, deadlock is not possible between two threads in a process, because it is a process that holds resources, not the thread that is, every thread has access held by the process to the resources.
these are four conditions that are able to achieve deadlock:
Mutual Exclusion :In a non-sharable mode at least one resource must be held ; If there is any other process requests this resource, then that process must wait for the resource to be released.
Hold and Wait :It is necessary for a process simultaneously holding at least one resource & waiting for at least one resource that is at the time being held by some other process.
No preemption: Once a process has been granting its requests (providing resources)then until the process voluntarily releases it that resource cannot be taken away from that process .
Circular Wait: A set of processes { P0, P1, P2, . . ., PN } must have to exist such that every P[ i ] waiting for P[ ( i + 1 ) % ( N + 1 ) ]. ( Note that this condition implies the hold-and-wait condition(describing 3rd in above), but if the four are considered separately, it is relaxable to deal with the conditions.

right said....

yeah

Yes it is possible. google it and you will get a "yes" everywhere.  Although it is a very rare and uncommon case but yes , it is possible. 
It may happen when a single process is waiting for an event that only it can cause.

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&sou...

No it is not possible.

Also check this.. i have Also found the result ..... "yes"

See the link below

http://hamilton.nuigalway.ie/teaching/AOS/FIVE/deadlock.html

thnkx for sharing ..... it will help

RSS

Latest Activity

+ ! ! ! @ Ishal @ ! ! ! + joined + M.Tariq Malik's group
28 minutes ago
+ ! ! ! @ Ishal @ ! ! ! + joined + M.Tariq Malik's group
29 minutes ago
+ ! ! ! @ Ishal @ ! ! ! + joined + M.Tariq Malik's group
30 minutes ago
+ ! ! ! @ Ishal @ ! ! ! + joined + M.Tariq Malik's group
30 minutes ago
+ ! ! ! @ Ishal @ ! ! ! + joined + M.Tariq Malik's group
31 minutes ago
+¢αяєℓєѕѕ gιяℓ replied to +¢αяєℓєѕѕ gιяℓ's discussion CS202 - Fundamentals of Front End Development Assignments No. 1 Due Date Nov 14, 2019 in the group CS202 Fundamentals of Front End Development
37 minutes ago
Hj replied to + M.Tariq Malik's discussion CS507 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS507 Information Systems
49 minutes ago
Ali Haider and Talha Asad are now friends
54 minutes ago
+ "J ɨ y ą ⋆ liked + "αяsαℓ " Ќąƶµяɨ •"'s discussion The World's most expensive Proposal
56 minutes ago
mohammad ahsan choudhry updated their profile
1 hour ago
+ ! ! ! ShaH ZaAdi(Shaho) joined + M.Tariq Malik's group
1 hour ago
saad latif replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
1 hour ago
Profile Iconsaad latif, Ikra butt and 4 other members joined + M.Tariq Malik's group
1 hour ago
Ikra butt added a discussion to the group CS610 Computer Network
1 hour ago
Ikra butt joined + M.Tariq Malik's group
1 hour ago
saad latif liked + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion
1 hour ago
Ikra butt liked + M.Tariq Malik's group CS401 Computer Architecture and Assembly Language Programming
1 hour ago
Ikra butt joined + M.Tariq Malik's group
1 hour ago
+ ! ! ! @ Ishal @ ! ! ! + joined + M.Tariq Malik's group
1 hour ago
Namood replied to + M.Tariq Malik's discussion MTH601 Assignment No 01 Fall 2019 Solution & Discussion in the group MTH601 Operations Research
1 hour ago

Today Top Members 

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service