Commit Graph

19 Commits

Author SHA1 Message Date
a775f2b41a Added semaphore_basic exercice and fixed the tester. 2025-10-14 20:37:03 +01:00
be7c0d17bb Added process_basics.c exercice, renamed exercices 2025-10-14 19:54:19 +01:00
2128325237 Added new exercices to better cover philosophers_bonus requirements
- Added exercices:
  - Added process basics.
  - Added semaphores basics.
  - Added process communication
  - Added process termination
  - Added process_philosophers
  - Renamed and reordered philosophers_bonus
2025-10-14 16:37:24 +01:00
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
8779aa24a6 Increase tester functionality
- Tester now checks if executable exists in `rendu` filder, if not, compiles the source file and run the test on it
2025-10-07 20:57:32 +01:00
f30d1e67b5 Increased testers funcionality: now testers checks for executables on rendu folder 2025-10-07 20:27:39 +01:00
00a1df51bb Moved subjects to ./subjects, added subject testers 2025-10-07 14:54:09 +01:00
24da1f174c Translated subjects to English 2025-10-07 12:49:38 +01:00
0a91d2dabd Added exercices in portuguese 2025-10-07 12:20:55 +01:00
7365014c96 Initial commit 2025-10-07 08:17:44 +00:00