Skip to content

Diegorpp/Parallel_programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Parallel Programming

This collage work is about managing threads to avoid race condition, dead-lock and do effectively execute proccess in parallel. This project it's a variation of the famous problem called "Dining philosophers problem". This variation use the pandemic context to build vaccines. In short terms, in this problem you have two threads working as consumer and one as producer, and a place where they need to interact to consume and replace resources to get their vaccine.

To run the project you can just use the following command:

gcc -Wall -pedantic -o trab.exe trab -lpthread

About

Trabalho de programação paralela

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages