]> git.dkaiser.de - 42/Philosophers.git/log
42/Philosophers.git
10 months agoFix norme main
Dominik Kaiser [Tue, 28 Jan 2025 13:37:27 +0000 (14:37 +0100)]
Fix norme

10 months agoDestroy Mutexes
Dominik Kaiser [Tue, 28 Jan 2025 13:29:21 +0000 (14:29 +0100)]
Destroy Mutexes

10 months agoProtect simulation_running with mutex
Dominik Kaiser [Tue, 28 Jan 2025 12:56:07 +0000 (13:56 +0100)]
Protect simulation_running with mutex

10 months agoOutsource init func to seperate file
Dominik Kaiser [Tue, 28 Jan 2025 12:21:34 +0000 (13:21 +0100)]
Outsource init func to seperate file

10 months agoFix norme
Dominik Kaiser [Tue, 28 Jan 2025 12:08:25 +0000 (13:08 +0100)]
Fix norme

10 months agoIntegrate ft_utils.h into philo.h
Dominik Kaiser [Tue, 28 Jan 2025 12:06:21 +0000 (13:06 +0100)]
Integrate ft_utils.h into philo.h

10 months agoRemove .gitignore
Dominik Kaiser [Mon, 27 Jan 2025 14:07:42 +0000 (15:07 +0100)]
Remove .gitignore

10 months agoAdd result check
Dominik Kaiser [Mon, 27 Jan 2025 14:02:57 +0000 (15:02 +0100)]
Add result check

10 months agoUpdate usleep time
Dominik Kaiser [Mon, 27 Jan 2025 13:55:43 +0000 (14:55 +0100)]
Update usleep time

10 months agoOutsource eating and fix norme again
Dominik Kaiser [Mon, 27 Jan 2025 13:37:55 +0000 (14:37 +0100)]
Outsource eating and fix norme again

10 months agoUpdate simulation and fix norme errors
Dominik Kaiser [Sun, 26 Jan 2025 11:44:13 +0000 (12:44 +0100)]
Update simulation and fix norme errors

10 months agoOutsource checking for philos_must_eat to main thread
Dominik Kaiser [Sat, 18 Jan 2025 16:11:11 +0000 (17:11 +0100)]
Outsource checking for philos_must_eat to main thread

10 months agoAdd handling for times_must_eat
Dominik Kaiser [Sat, 18 Jan 2025 16:04:56 +0000 (17:04 +0100)]
Add handling for times_must_eat

10 months agoFix bug
Dominik Kaiser [Sat, 18 Jan 2025 15:41:16 +0000 (16:41 +0100)]
Fix bug

10 months agoFinish up simulation
Dominik Kaiser [Sat, 18 Jan 2025 13:01:36 +0000 (14:01 +0100)]
Finish up simulation

10 months agoAdd time_to_eat and time_to_sleep
Dominik Kaiser [Sat, 18 Jan 2025 12:04:57 +0000 (13:04 +0100)]
Add time_to_eat and time_to_sleep

10 months agoOutsource ft_cur_time_in_ms into own func
Dominik Kaiser [Sat, 18 Jan 2025 11:56:50 +0000 (12:56 +0100)]
Outsource ft_cur_time_in_ms into own func

10 months agoAdd ft_log func
Dominik Kaiser [Sat, 18 Jan 2025 11:50:55 +0000 (12:50 +0100)]
Add ft_log func

10 months agoAdd rudimentary think and sleep funcs
Dominik Kaiser [Sat, 18 Jan 2025 11:41:50 +0000 (12:41 +0100)]
Add rudimentary think and sleep funcs

10 months agoAdd eating to simulation
Dominik Kaiser [Sat, 18 Jan 2025 11:29:19 +0000 (12:29 +0100)]
Add eating to simulation

10 months agoAdd error handling
Dominik Kaiser [Sat, 18 Jan 2025 10:55:54 +0000 (11:55 +0100)]
Add error handling

10 months agoFix wrong allocation size
Dominik Kaiser [Sat, 18 Jan 2025 10:34:04 +0000 (11:34 +0100)]
Fix wrong allocation size

10 months agoAdd simulation func
Dominik Kaiser [Sat, 18 Jan 2025 10:23:40 +0000 (11:23 +0100)]
Add simulation func

10 months agoAdd structs and init
Dominik Kaiser [Sat, 18 Jan 2025 10:21:35 +0000 (11:21 +0100)]
Add structs and init

10 months agoAdd loading data from args
Dominik Kaiser [Fri, 17 Jan 2025 11:40:20 +0000 (12:40 +0100)]
Add loading data from args

10 months agoAdd .gitignore
Dominik Kaiser [Fri, 17 Jan 2025 11:27:57 +0000 (12:27 +0100)]
Add .gitignore

Some people at 42 might be confused by this as it is not explicitly
allowed in the subject but it is good practice and if I feel that
I can't defend my choice I might remove it before uploading it for
evaluation

10 months agoAdd ft_utils
Dominik Kaiser [Fri, 17 Jan 2025 11:06:21 +0000 (12:06 +0100)]
Add ft_utils

10 months agoSetup project structure
Dominik Kaiser [Tue, 14 Jan 2025 16:17:27 +0000 (17:17 +0100)]
Setup project structure