123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Computers >> View Article

Deadlock In Operating System

Profile Picture
By Author: Wisemonkeys
Total Articles: 277
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Every process needs some resources to complete its execution. However, the resource is granted in a sequential order.

The process requests some resources.
OS grants the resource if it is available otherwise let the process waits.
The process uses it and releases it on completion.
A Deadlock is a situation where each of the computer processes waits for a resource that is being assigned to another process. In this situation, none of the process gets executed since the resource it needs, is held by some other process that is also waiting for some other resource to be released.

Mutual Exclusion
A resource can only be shared in a mutually exclusive manner. It implies that two processes cannot use the same resource at the same time.

Hold and Wait
A process waits for some resources while holding another resource at the same time.

No preemption
The process once scheduled will be executed till the completion. No other process can be scheduled by the scheduler meanwhile.

Circular Wait
All the processes must be waiting for the resources in a cyclic manner so that ...
... the last process is waiting for the resource which is being held by the first process.

Wisemonkeys(https://wisemonkeys.info/), is an LMS platform with unique features like “Ask a question” and get answers from experts within no time. It’s a mass initiative to spread knowledge worldwide, truly believe in “When we know knowledge is free then why not spread it.” From various sectors to industries, write your heart out and get noticed.

Explore Wisemonkeys now.(https://me.wisemonkeys.info/login)

For the Monkeys | By the Monkeys.

Total Views: 201Word Count: 246See All articles From Author

Add Comment

Computers Articles

1. Why You Should Never Rely Only On Free Antivirus Tools
Author: Arjun

2. Portable Gaming Computer
Author: Jack Williams

3. One Identity To Rule Them All? It’s Closer Than You Think
Author: Tushar Pansare

4. Quinoa Market: Growth Dynamics, Trends, And Future Outlook
Author: komal

5. Visual Foxpro Migration: A Complete Guide To Modernizing Legacy Applications
Author: Tech Gazebos

6. Cloud Computing Companies In India | Cloud Computing Services In India | Sathya Technosoft
Author: Sathya Technosoft

7. Crm_consulting_services In Usa
Author: brainbell10

8. Consumer_app_development In Usa
Author: brainbell10

9. Console_game_development In Usa
Author: brainbell10

10. Web Scraping Takealot Website Data For Category Insights
Author: Den Rediant

11. Dynamics 365 Customer voice
Author: brainbell10

12. Dynamics 365 Field Service
Author: brainbell10

13. Dynamics 365 Customer Service
Author: brainbell10

14. Hepsiburada Category-wise Product Data Scraping For Market Trends
Author: Den Rediant

15. Martindale Law Firm Competitive Analysis Data For Legal Industry
Author: Den Rediant

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: