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

Tag

# #synchronzation

1 posts · 0 followers

[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)
