Skip to content

tawfik-s/java-multi-threading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-multi-threading

playground for learning multi-threading in java

thread states diagram

threadstates.png

Deadlock example diagram

deadlockexample.png

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

synchronized_collection.png

Releases

No releases published

Packages

No packages published

Languages