├── .gitignore ├── .gitmodules ├── Makefile ├── README.md ├── doc ├── study │ ├── concurrent_programming │ │ ├── Makefile │ │ └── main.c │ ├── struct.c │ └── threads.c ├── subject.md └── todo.md ├── include └── philo.h ├── src ├── checkargs.c ├── init.c ├── main.c ├── sim_utils.c ├── simulation.c ├── simulator.c ├── time_utils.c └── utils.c └── test ├── custom.sh ├── eval.sh └── ft_mallocator ├── .gitignore ├── Makefile ├── README.md ├── alloc_hook ├── alloc_hook.c ├── alloc_hook.h ├── alloc_list.c ├── alloc_list.h ├── alloc_vector.c ├── alloc_vector.h ├── utils_hook.c └── utils_hook.h ├── demo_main.c ├── how_it_work.md ├── out ├── ressources ├── logo.png ├── screenshot.png └── well_protected.png └── test.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/.gitmodules -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/README.md -------------------------------------------------------------------------------- /doc/study/concurrent_programming/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/doc/study/concurrent_programming/Makefile -------------------------------------------------------------------------------- /doc/study/concurrent_programming/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/doc/study/concurrent_programming/main.c -------------------------------------------------------------------------------- /doc/study/struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/doc/study/struct.c -------------------------------------------------------------------------------- /doc/study/threads.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/doc/study/threads.c -------------------------------------------------------------------------------- /doc/subject.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/doc/subject.md -------------------------------------------------------------------------------- /doc/todo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/doc/todo.md -------------------------------------------------------------------------------- /include/philo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/include/philo.h -------------------------------------------------------------------------------- /src/checkargs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/checkargs.c -------------------------------------------------------------------------------- /src/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/init.c -------------------------------------------------------------------------------- /src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/main.c -------------------------------------------------------------------------------- /src/sim_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/sim_utils.c -------------------------------------------------------------------------------- /src/simulation.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/simulation.c -------------------------------------------------------------------------------- /src/simulator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/simulator.c -------------------------------------------------------------------------------- /src/time_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/time_utils.c -------------------------------------------------------------------------------- /src/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/src/utils.c -------------------------------------------------------------------------------- /test/custom.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/custom.sh -------------------------------------------------------------------------------- /test/eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/eval.sh -------------------------------------------------------------------------------- /test/ft_mallocator/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/.gitignore -------------------------------------------------------------------------------- /test/ft_mallocator/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/Makefile -------------------------------------------------------------------------------- /test/ft_mallocator/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/README.md -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/alloc_hook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/alloc_hook.c -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/alloc_hook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/alloc_hook.h -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/alloc_list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/alloc_list.c -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/alloc_list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/alloc_list.h -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/alloc_vector.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/alloc_vector.c -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/alloc_vector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/alloc_vector.h -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/utils_hook.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/utils_hook.c -------------------------------------------------------------------------------- /test/ft_mallocator/alloc_hook/utils_hook.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/alloc_hook/utils_hook.h -------------------------------------------------------------------------------- /test/ft_mallocator/demo_main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/demo_main.c -------------------------------------------------------------------------------- /test/ft_mallocator/how_it_work.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/how_it_work.md -------------------------------------------------------------------------------- /test/ft_mallocator/out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/ft_mallocator/ressources/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/ressources/logo.png -------------------------------------------------------------------------------- /test/ft_mallocator/ressources/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/ressources/screenshot.png -------------------------------------------------------------------------------- /test/ft_mallocator/ressources/well_protected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/ressources/well_protected.png -------------------------------------------------------------------------------- /test/ft_mallocator/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/clementvidon/philosophers/HEAD/test/ft_mallocator/test.sh --------------------------------------------------------------------------------