| 2024-05-30 |
Lukas Jiriste | Improve error messages and a minor change |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Change watch_for_starvation to not print after end |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Add and fix error messaging, stop removal of files |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Get rid of philo_pids array as it is not needed |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Make semaphores lose conditionally |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Fix well fed message not printing by initializing |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Further improve philos memory, make 1 philo work |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Handle philo errors better, fix philo "leaks" |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Implement the philo side of the protocol |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-30 |
Lukas Jiriste | Implement waiting for death/fed in the main |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-28 |
Lukas Jiriste | Rewrite semaphore initialization, add end semaphore |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-28 |
Lukas Jiriste | Add terminating null to name of philo's semaphore |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-28 |
Lukas Jiriste | Fix the hunger_watcher loop |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-28 |
Lukas Jiriste | Fix philosopher initialization |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-24 |
Lukas Jiriste | Add "empty" handle_philosophers for testing |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-24 |
Lukas Jiriste | Change semaphores array for a structure |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-24 |
Lukas Jiriste | Add create_philo_sem_name and supporting functions |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-24 |
Lukas Jiriste | Implement the hunger watcher, rename function |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-24 |
Lukas Jiriste | Rename philo attribute lives to alive, minor fixes |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-24 |
Lukas Jiriste | Add fcntl.h as depedency for macros (eg. O_CREAT) |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-24 |
Lukas Jiriste | Implement is_alive function |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-23 |
Lukas Jiriste | Add semaphore to each philo |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-23 |
Lukas Jiriste | Clear mutex.c as dependency from Makefile |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-23 |
Lukas Jiriste | Make semaphores close properly, fix array access |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-12 |
Lukas Jiriste | Fix most of compilation issues. |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-10 |
Lukas Jiriste | Implement be_a_philosopher and its helpers |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-10 |
Lukas Jiriste | Implement seat_philosophers function |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-10 |
Lukas Jiriste | Change main, parsing and mem_management |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-10 |
Lukas Jiriste | Change philo to guide the future changes |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-10 |
Lukas Jiriste | Copy the philo as a base for the bonus |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-10 |
Lukas Jiriste | Remove whitespace from end of lines in Makefile |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Further change cleanup order |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Add the check for well fed philosophers |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Format to comply with the 42 Norm |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Add missing index increment, change cleanup order |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Join the threads for valgrind not to complain |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Fix discrepancy caused by confusing ms and us |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Implement checking for the death of philosopher |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-05-09 |
Lukas Jiriste | Implement the philo actions |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Implement seat_philosophers |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Add initialization of some members of philos |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Fix allocation of wrong size |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Fix logic bug |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Implement conditional compilation |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Implement initialization, cleanup and mutex struct |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Remove unnecessary include |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-28 |
Lukas Jiriste | Implement parsing of input |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-26 |
Lukas Jiriste | Add Makefile (doesn't compile yet) |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-26 |
Lukas Jiriste | Change the context of the time variables |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-26 |
Lukas Jiriste | Create outline of the solution |
commit | commitdiff | tree | snapshot (zip tar.gz) |
| 2024-03-22 |
Lukas Jiriste | Add .gitignore as an initial commit |
commit | commitdiff | tree | snapshot (zip tar.gz) |
|