https://github.com/tawfik-s/java-multi-threading
playground for learning multi threading in java
https://github.com/tawfik-s/java-multi-threading
java java-strings lock multithreading semaphore syncronous
Last synced: 2 months ago
JSON representation
playground for learning multi threading in java
- Host: GitHub
- URL: https://github.com/tawfik-s/java-multi-threading
- Owner: tawfik-s
- Created: 2023-03-24T09:33:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-25T11:12:52.000Z (almost 3 years ago)
- Last Synced: 2025-10-14T18:04:51.969Z (2 months ago)
- Topics: java, java-strings, lock, multithreading, semaphore, syncronous
- Language: Java
- Homepage:
- Size: 219 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java-multi-threading
playground for learning multi-threading in java
## thread states diagram

## Deadlock example diagram

## synchronized collection
The classes in the Java Collections Framework are not thread-safe; that is, their contents may
become corrupted if they are accessed and updated concurrently by multiple threads. You can
protect the data in a collection by locking the collection or by using synchronized collections.
The Collections class provides six static methods
