Skip to content

Solved Vaccine distribution and stage allocation problems to get familiar with threads, semaphores, and mutex locks.

License

Notifications You must be signed in to change notification settings

psahithireddy/multithreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrency

VACCINE DISTRIBUTION

Q2 is implemented using threads and mutex locks.

Program that distributes vaccines in a college taking input as no.of companies producing vaccines,probability of success of vaccine, no.of students and no.of zones and distributes vaccines to students along with antibody test. If antibody test turns out negative more than 3 times they are sent home.

STAGE ALLOCATION

Q3 is implemented using semaphores and mutex locks.

Program that allocates acoustic and electric stages to singers and musicians who play different instruments and also distributes t-shirts as pay.

Go through respective markdown files for further explanation.

About

Solved Vaccine distribution and stage allocation problems to get familiar with threads, semaphores, and mutex locks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages