starnakin
starnakin pushed to master at starnakin/skyblock_modpack 2023-04-26 17:28:57 -04:00
7e042cb166 init
starnakin created repository starnakin/skyblock_modpack 2023-04-26 17:27:17 -04:00
starnakin pushed to master at starnakin/42_Philosopher 2023-04-25 11:10:29 -04:00
7e7538aa40 fix: do not print message exit eating
starnakin pushed to master at starnakin/42_Philosopher 2023-04-25 11:01:57 -04:00
41bd1149d8 fix: time mix
starnakin pushed to master at starnakin/42_Philosopher 2023-04-25 10:57:00 -04:00
69e34424c1 fix: philo alone died now
starnakin pushed to master at starnakin/42_Philosopher 2023-04-25 10:50:05 -04:00
02a80af93b fix: stop when nb_meal is reached
starnakin pushed to master at starnakin/42_Philosopher 2023-04-25 10:39:11 -04:00
891431c1be fix: work with odd numbers of philos
starnakin pushed to master at starnakin/42_Philosopher 2023-04-25 10:33:39 -04:00
07d4cd05c1 core: transition from bool[] to mutex[] for the fork tab
4f138b78e3 clean: remove useless file
6759520714 transition from printf to write
Compare 4 commits »
starnakin pushed to master at starnakin/42_Philosopher 2023-04-25 07:31:03 -04:00
531d3146e4 merge
b553e5af97 fix: stop when philo has enough eat
Compare 2 commits »
starnakin created repository starnakin/PyMenuBOT 2023-04-24 04:39:11 -04:00
starnakin pushed to master at starnakin/42_Philosopher 2023-04-20 12:27:24 -04:00
f51039c735 ?fix: initialise all value
starnakin pushed to master at starnakin/42_Philosopher 2023-04-20 08:40:37 -04:00
26e9f21238 fix print mutex is now destroyed at the end
starnakin pushed to master at starnakin/42_Philosopher 2023-04-20 08:39:07 -04:00
32d881a7d2 fix: stop when philo has enough eat
starnakin pushed to master at starnakin/42_Philosopher 2023-04-20 08:21:07 -04:00
caa4491fbb fix: add verif for sleeping and not only for eating
19c5a53ba9 fix: end when philo died and not when philo stop eatind or sleep example 'philo 2 100 5 10000'
Compare 2 commits »
starnakin pushed to master at starnakin/42_Philosopher 2023-04-19 10:51:10 -04:00
cb2e29d18b prepare to add a verif thread
0ae80bdcca fix: helgreind
e7a85b4d9d change display id '1' -> '001'
Compare 3 commits »
starnakin pushed to master at starnakin/42_Philosopher 2023-04-19 10:09:18 -04:00
1461285dbf fix: add pthread flag to compile and link
7e77316d53 add: time is now relatif
6148d6effe change: 'is dead' -> 'dead' and ' 10' -> '000000010'
9281e9f508 fix: stop when philo dead
c674f68b2e fix: check if all threads is stopped before destroye data
Compare 8 commits »
starnakin pushed to master at starnakin/42_Philosopher 2023-04-19 07:59:40 -04:00
622c2bf226 fix: lock mutex
starnakin pushed to master at starnakin/42_Philosopher 2023-04-19 07:53:52 -04:00
4e27d103a8 fix: I create now 1 thread by philo
starnakin pushed to master at starnakin/42_minishell 2023-04-17 08:16:45 -04:00
3e7dcd1ba9 fix: heredoc work without global
starnakin pushed to master at starnakin/42_minishell 2023-04-17 06:45:29 -04:00
9ab9c06593 Merge remote-tracking branch 'refs/remotes/origin/master'
2f6daa4ce5 fix: signal double prompt
Compare 2 commits »