Skip to content

Basically, an introduction to multi-threading in C. A solution to the dining philosophers problem

Notifications You must be signed in to change notification settings

simonechebelnome/Philosophers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 

Repository files navigation

🧠 42 PHILOSOPHERS

Made by smenna

TO-DO LIST:

  • Pass a struct to the thread as an argument
  • Avoid using a global variable for mutex
  • Find a way for each philosopher to grab a fork
  • Understand where to place the mutex [Yes, just lock each fork and you're done]
  • Create the main cycle
  • Fix the norm
  • Avoid Deadlock and Starvation
  • Learn about Semaphores
  • implement the Bonus part
  • Actually check if you fucked up some shit somewhere [OF FUCKING COURSE I DID]

👏 YUP. DONE. FINISH. COMPLEDADO. THAT'S IT 👏

About

Basically, an introduction to multi-threading in C. A solution to the dining philosophers problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published