wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Deadlock in Operating System

profile
Ishita Thummar
Jul 11, 2023
0 Likes
0 Discussions
63 Reads

Deadlock in the Operating System 

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

  1. The process requests some resources.
  2. OS grants the resource if it is available otherwise let the process waits.
  3. 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.

  1. 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.

  1. Hold and Wait

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

  1. No preemption

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

  1. 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.

 


Comments ()


Sign in

Read Next

Memory Management - operating system

Blog banner

What is a geographic information system (GIS)?

Blog banner

"Life as a Part-time Student"

Blog banner

Importance of Network Security Risk

Blog banner

Memory hierarchy

Blog banner

Types of Threads

Blog banner

Top 3 Places To Stay In Vienna

Blog banner

Virtual Machine

Blog banner

OPERATING SYSTEM

Blog banner

Deadlock in Operating System

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Modern OS

Blog banner

Synchronization

Blog banner

Virtual Memory

Blog banner

Process Creation

Blog banner

IO Buffers

Blog banner

differentiate thinking humanly and rationally

Blog banner

Direct Memory Access

Blog banner

Service Catalogue Management

Blog banner

Session Vulnerabilities

Blog banner

Importance of internet

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

Indian Food

Blog banner

Memory input output management

Blog banner

What is OS Fingerprinting?

Blog banner

File sharing

Blog banner

Article on Zoho Corporation

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Memory Management in an Operating System

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Zomato's Secret Digital Marketing Techniques!

Blog banner

Music is life

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Brain wash of social media

Blog banner

Jio .....A Revolution ?? ??

Blog banner

A Survey of Anti-Forensic Techniques: Methods, Challenges, and Countermeasures

Blog banner

Cache Memory

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

Big O Notation

Blog banner

Operating System

Blog banner

IT security management

Blog banner

Deadlock

Blog banner