Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Homework for the Parallel and Distributed Algorithms course @ ACS, UPB 2019

License

Notifications You must be signed in to change notification settings

vladutmargineanu/Space-Explorers-and-Federation-HQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space-Explorers-and-Federation-HQ

Homework for the Parallel and Distributed Algorithms course @ ACS, UPB 2019

Algorithm

Space-Explorers-and-Federation-HQ is a Producer-Consumer Type of Problem.

Experimented Java Multithreading in this multiple producer-multiple consumer problem. The space explorers and the headquarters are both consumers and producers, switching their roles.

How to run

java Homework <wormHoles> <hashCount> <federationHQCount> <spaceExplorerCount>