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

Deadlock

Blog banner

Education: Key to your Prosperity

Blog banner

differentiate thinking humanly and rationally

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Functions Of Operating Systems

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Starvation

Blog banner

Worms, viruses and Bots

Blog banner

Risk factors in service transistion

Blog banner

Kafka - A Framework

Blog banner

Fault tolerance

Blog banner

Threads

Blog banner

Traveling

Blog banner

Why is ITSM important in IT organization?

Blog banner

Threads

Blog banner

Health and fitness in technology

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

MY FIRST BLOG?

Blog banner

Deadlock and Starvation

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

Top 10 Logos and their meanings

Blog banner

Deadlock and Starvation

Blog banner

Importance of Website

Blog banner

ROLE OF THE COMPUTER FORENSICS TOOLS AND TECHNIQUES

Blog banner

Instagram

Blog banner

Why Seasonal Summer Foods Are Best for Your Health?

Blog banner

Scheduling

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Elements and Principles of Photography

Blog banner

SQL Injection Techniques

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

Virtual memory

Blog banner

Population

Blog banner

Memory Management

Blog banner

Threats To Computer System

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

objectives and function of operating system

Blog banner

Balance

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

Memory Management

Blog banner