---
title: "#reentrantlock articles | Hashnode"
description: "Explore 4 articles tagged #reentrantlock on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/reentrantlock"
---

Tag

# #reentrantlock

4 posts · 0 followers

[Praveen Gupta](https://hashnode.com/@codewithpraveen) · [3h ago](https://hashnode.com/posts/java-reentrantlock-explained-from-beginner-to-advanced-with-real-world-examples-java-17-25/6aff151ea628307010061fdb)

### [Java ReentrantLock Explained: From Beginner to Advanced with Real-World Examples (Java 17 & 25)](https://codewithpraveen.hashnode.dev/java-reentrantlock-explained-from-beginner-to-advanced-with-real-world-examples-java-17-25?utm_source=hashnode&utm_medium=feed)

Learn Java ReentrantLock with simple examples, practical use cases, multithreading concepts, and interview questions.

19 min read · [codewithpraveen.hashnode.dev](https://codewithpraveen.hashnode.dev/java-reentrantlock-explained-from-beginner-to-advanced-with-real-world-examples-java-17-25?utm_source=hashnode&utm_medium=feed)

[Bikash Mainali](https://hashnode.com/@bikash8848) · [Mar 22](https://hashnode.com/posts/how-to-use-locks-in-multi-threaded-java-program/69c0822fd9da55a9a5fd9f82)

### [How to Use Locks in Multi-Threaded Java Program](https://bikash8848.hashnode.dev/how-to-use-locks-in-multi-threaded-java-program?utm_source=hashnode&utm_medium=feed)

1\. Exclusive Lock(ReentrantLock): Only one thread can acquire the lock at a time. package org.example.concurrency; import java.util.ArrayList; import java.util.List; import java.util.concurrent.locks

3 min read · [bikash8848.hashnode.dev](https://bikash8848.hashnode.dev/how-to-use-locks-in-multi-threaded-java-program?utm_source=hashnode&utm_medium=feed)

[Jyotiprakash Mishra](https://hashnode.com/@jpmishra) · [Nov 22, 2024](https://hashnode.com/posts/multithreading-in-java-a-comprehensive-guide-to-concurrency-and-parallelism/674002beb49f7a8c137e362c)

### [Multithreading in Java: A Comprehensive Guide to Concurrency and Parallelism](https://blog.jyotiprakash.org/multithreading-in-java-a-comprehensive-guide-to-concurrency-and-parallelism?utm_source=hashnode&utm_medium=feed)

What is Multithreading? In modern computing, performance is not just about executing one task faster but about doing more simultaneously. Multithreading allows a program to execute multiple threads concurrently, effectively enabling multitasking with...

33 min read · [blog.jyotiprakash.org](https://blog.jyotiprakash.org/multithreading-in-java-a-comprehensive-guide-to-concurrency-and-parallelism?utm_source=hashnode&utm_medium=feed)

[Chetan Datta](https://hashnode.com/@chetan77) · [Jul 7, 2024](https://hashnode.com/posts/26-java-multithreading-3-custom-locks/668a498d5fca93d650c0c787)

### [26 Java - Multithreading 3 (Custom Locks)](https://chetan77.hashnode.dev/26-java-multithreading-3-custom-locks?utm_source=hashnode&utm_medium=feed)

Monitor Lock Locking do not depends on Object like synchronized method. synchronized method puts the monitor lock on the object synchronized { ... ..Critical Section.. ... } Example (Synchronized) public class SharedResource { boolean isAva...

7 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/26-java-multithreading-3-custom-locks?utm_source=hashnode&utm_medium=feed)
