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

Platonic Solids

Blog banner

Importance of Education

Blog banner

Deadlock and starvation in operating system

Blog banner

FREE VERSION OF G-MAIL

Blog banner

Deadlock and Starvation

Blog banner

Modern operating system

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

Virtual Machine

Blog banner

I/O Management and Disk Scheduling

Blog banner

Risk factors in service transistion

Blog banner

FRIENDSHIP

Blog banner

LEMON PICKLE (NIMBU KA ACHAR)

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Environmental Management using GIS

Blog banner

Data Analytics in Data Science

Blog banner

Getting into anime My anime suggestions

Blog banner

INTERRUPTS

Blog banner

Meshoo

Blog banner

Virtual memory

Blog banner

E-Governance

Blog banner

Sage business cloud accounting

Blog banner

Shoulders

Blog banner

The New Dr. Frankenstein who will perform first full head transplant

Blog banner

Network Security Risks

Blog banner

BEAUTY IS IN THE EYE OF THE BEHOLDER

Blog banner

Virtual Memory

Blog banner

Interrupts in OS

Blog banner

Making Money through Instagram

Blog banner

Memory management

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

Data Exfiltration

Blog banner

Cyber Forensics on IOT Devices

Blog banner

Deadlock

Blog banner

Firewall

Blog banner

Deadlock in operating system

Blog banner

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

All you need to know about “On-page SEO”

Blog banner

Threads

Blog banner

Modern Operating Systems

Blog banner

Banaras

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

Synchronization

Blog banner