---
title: "What is deadlock?"  
description: "What is deadlock?"  
author: "Anonymous User"  
published: 2015-05-11  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/2503/what-is-deadlock  
category: "java"  
tags: ["java", "thread"]  
reading_time: 1 minute  

---

# What is deadlock?

Deadlock is a situation when two threads are waiting on each other to release a resource. Each thread waiting for a resource which is held by the other waiting thread.

## Answers

### Answer by Anonymous User

Deadlock is a situation when two threads are waiting on each other to release a resource. Each thread waiting for a resource which is held by the other waiting thread.


---

Original Source: https://www.mindstick.com/interview/2503/what-is-deadlock

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
