philosophers_prep/rendu
Rui Ribeiro 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
..
deadlock_demo.c Added rendu to exercices 5 e 6. Fixed deadlock_demo tester. 2025-10-08 19:28:44 +01:00
death_monitor.c Added boilerplate for death_monitor.c, need a refactor. 2025-10-09 20:50:32 +01:00
limited_resources.c Finished ex8 - simple_philosophers. Fixed tester to detect my solution output type. 2025-10-09 19:07:31 +01:00
mutex_basics.c Added subject resolutions for the first 4 exercices 2025-10-07 22:08:15 +01:00
precise_timing.c Added subject resolutions for the first 4 exercices 2025-10-07 22:08:15 +01:00
producer_consumer.c Added rendu to exercices 5 e 6. Fixed deadlock_demo tester. 2025-10-08 19:28:44 +01:00
simple_philosophers.c Finished ex8 - simple_philosophers. Fixed tester to detect my solution output type. 2025-10-09 19:07:31 +01:00
simple_philosophers.h Finished ex8 - simple_philosophers. Fixed tester to detect my solution output type. 2025-10-09 19:07:31 +01:00
state_monitor.c Added subject resolutions for the first 4 exercices 2025-10-07 22:08:15 +01:00
thread_basics.c Added subject resolutions for the first 4 exercices 2025-10-07 22:08:15 +01:00