Skip to content

This is a project to solve the problem of the Producers and Consumers in Java Language with the use of Threads to do the work! The generic form to solve this problem is with the Semaphores to help with a organized and wise way. But here is my solution without the use of Threads!

Notifications You must be signed in to change notification settings

vitorbcc2021/ProducerConsumerNoSemaphore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Hello, World!

This is my algorithm for the problem of the producers and consumers using Threads in Java language!!

All code logic here was implemented using synchronized code blocks and some simple Data Structures like Queues, and without the use of Semaphore!

All code implemented here was made by myself just for learning reasons and it can be very improved!!
I've just made an simple implementation, be free to improve by it yourself ;)

About

This is a project to solve the problem of the Producers and Consumers in Java Language with the use of Threads to do the work! The generic form to solve this problem is with the Semaphores to help with a organized and wise way. But here is my solution without the use of Threads!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages