Skip to content

I’ve never thought philosophy would be so deadly.

Notifications You must be signed in to change notification settings

itsOussamox/philosophers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Philosophers jaeskim's 42Project Score

I’ve never thought philosophy would be so deadly.

Content && Dining Philosophers Problem

In this project, you will learn the basics of threading a process and how to work on the same memory space. You will learn how to make threads. You will discover the mutex, semaphore and shared memory.

SOURCES

-->thread : https://www.pcerror-fix.com/about-processor-threads || https://www.youtube.com/watch?v=uA8X5zNOGw8&list=PL9IEJIKnBJjFZxuqyJ9JqVYmuFZHr7CFM || https://computing.llnl.gov/tutorials/pthreads/ || http://www.csc.villanova.edu/~mdamian/threads/posixthreads.html#exercise_2 || https://timmurphy.org/2010/05/04/pthreads-in-c-a-minimal-working-example/ || https://www.ai.univ-paris8.fr/~alinehuf/m1/cours2-3/cours2-3_threads_acces_concurents.pdf ||

-->fork : https://www.youtube.com/watch?v=PwxTbksJ2fo https://www.youtube.com/watch?v=cex9XrZCU14 https://www.geeksforgeeks.org/fork-system-call/

-->Mutex and Semaphore: https://docs.oracle.com/cd/E19253-01/816-5137/sync-11157/index.html https://stackoverflow.com/questions/34524/what-is-a-mutex https://stackoverflow.com/questions/9369873/sem-init-what-is-the-value-parameter-for https://stackoverflow.com/questions/2065747/pthreads-mutex-vs-semaphore https://www.youtube.com/watch?v=I-xQpuZ_UFM https://www.ai.univ-paris8.fr/~alinehuf/m1/cours2-3/cours2-3_threads_acces_concurents.pdf https://www.geeksforgeeks.org/mutex-lock-for-linux-thread-synchronization/ https://www.youtube.com/watch?v=F59sCis0hl4

-->Dining Philosophers Problem: https://perso.ens-lyon.fr/michael.rao/ASR2/cours_slides_8.pdf https://www.youtube.com/watch?v=dOVdsd31WNg https://medium.com/swlh/the-dining-philosophers-problem-solution-in-c-90e2593f64e8

About

I’ve never thought philosophy would be so deadly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published