Commit Graph

10 Commits

Author SHA1 Message Date
f8f51f8cc2 Added race_detector exercice 2025-10-14 16:04:33 +01:00
cae865cd92 Fixed test 10, added exercices: death_monitor and philosophers_args 2025-10-12 01:24:40 +01:00
69d8209b12 updated death monitor 2025-10-09 21:24:47 +01:00
9349239c84 Added struct to death_monitor.c 2025-10-09 20:51:02 +01:00
4584560f1d Added boilerplate for death_monitor.c, need a refactor.
- ATM the code have a struct that contains all workers threads, mutexes and last_updated values. I need to try malloc a `WorkerState` struct and pass it to each worker thread.
- Need to create a monitor thread that will iterate all workers values and watch if the last_activity_time of a worker is less than 3 seconds. If not, the monitor thread will declare it as dead.
2025-10-09 20:50:32 +01:00
1a007d0956 Finished ex8 - simple_philosophers. Fixed tester to detect my solution output type. 2025-10-09 19:07:31 +01:00
b675fb4053 Added new exercices 2025-10-08 22:31:22 +01:00
fa1756eecf Added rendu to exercices 5 e 6. Fixed deadlock_demo tester. 2025-10-08 19:28:44 +01:00
5e7623d831 Add producer-consumer exercice boilerplate implementation with threading support 2025-10-07 22:22:41 +01:00
901f15dd56 Added subject resolutions for the first 4 exercices 2025-10-07 22:08:15 +01:00