Commit Graph

  • 6e383ed9d6 ok j'arrette de troll master Camille Chauvet 2023-06-01 14:24:36 +0200
  • b0f5095569 ok g troll Camille Chauvet 2023-06-01 14:23:15 +0200
  • f88abe9631 dsfsd Camille Chauvet 2023-05-25 17:31:02 +0200
  • 984f4c59bf norm Camille Chauvet 2023-05-25 15:24:35 +0200
  • 61b599b9f2 opti Camille Chauvet 2023-05-25 15:24:17 +0200
  • f1927d349b fix: add stdbool remove useless memset Camille Chauvet 2023-05-25 14:57:43 +0200
  • 1b3c96b38d fix: data race Camille Chauvet 2023-05-24 16:19:21 +0200
  • 550851a5c8 Merge branch 'master' of git.chauvet.pro:starnakin/42_Philosopher Camille Chauvet 2023-05-24 13:55:43 +0000
  • 0956af87ca fix: data race Camille Chauvet 2023-05-24 15:55:19 +0200
  • 7e5d4af478 fix: support only > 0 number Camille Chauvet 2023-05-17 13:44:38 +0200
  • 008b30e12c fix: add 0 to the print Camille Chauvet 2023-05-17 13:37:20 +0200
  • aefb6ceec0 bozosujet Camille Chauvet 2023-05-17 13:28:42 +0200
  • 8371b01390 clean: remove compile file Camille Chauvet 2023-05-17 13:26:16 +0200
  • 3e9f5e829f fix: replace write by printf Camille Chauvet 2023-05-17 13:25:34 +0200
  • 958448ca4e finish2 Camille Chauvet 2023-05-16 11:26:03 +0000
  • 291c7b40b1 finish Camille Chauvet 2023-05-16 11:25:05 +0000
  • b940b46924 ?fix Camille Chauvet 2023-05-05 16:59:36 +0000
  • 5c309f2f02 fix: sleeptime and eat time if time to die < time eat|sleep Camille Chauvet 2023-05-02 11:44:16 +0000
  • 796e186c36 clean: norm Camille Chauvet 2023-04-27 12:05:14 +0000
  • 7e7538aa40 fix: do not print message exit eating Camille Chauvet 2023-04-25 15:10:25 +0000
  • 41bd1149d8 fix: time mix Camille Chauvet 2023-04-25 15:01:54 +0000
  • 69e34424c1 fix: philo alone died now Camille Chauvet 2023-04-25 14:56:57 +0000
  • 02a80af93b fix: stop when nb_meal is reached Camille Chauvet 2023-04-25 14:50:01 +0000
  • 891431c1be fix: work with odd numbers of philos Camille Chauvet 2023-04-25 14:39:07 +0000
  • d6aee63600 fix Camille Chauvet 2023-04-25 14:33:35 +0000
  • 07d4cd05c1 core: transition from bool[] to mutex[] for the fork tab Camille Chauvet 2023-04-25 14:32:42 +0000
  • 4f138b78e3 clean: remove useless file Camille Chauvet 2023-04-25 14:31:12 +0000
  • 6759520714 transition from printf to write Camille Chauvet 2023-04-25 14:30:21 +0000
  • 531d3146e4 merge Camille Chauvet 2023-04-25 11:30:55 +0000
  • f51039c735 ?fix: initialise all value starnakin 2023-04-20 18:27:12 +0200
  • b553e5af97 fix: stop when philo has enough eat Camille Chauvet 2023-04-20 13:16:02 +0000
  • 26e9f21238 fix print mutex is now destroyed at the end Camille Chauvet 2023-04-20 12:40:30 +0000
  • 32d881a7d2 fix: stop when philo has enough eat Camille Chauvet 2023-04-20 12:39:01 +0000
  • caa4491fbb fix: add verif for sleeping and not only for eating Camille Chauvet 2023-04-20 12:21:03 +0000
  • 19c5a53ba9 fix: end when philo died and not when philo stop eatind or sleep example 'philo 2 100 5 10000' Camille Chauvet 2023-04-20 12:20:22 +0000
  • cb2e29d18b prepare to add a verif thread Camille Chauvet 2023-04-19 14:50:51 +0000
  • 0ae80bdcca fix: helgreind Camille Chauvet 2023-04-19 14:49:48 +0000
  • e7a85b4d9d change display id '1' -> '001' Camille Chauvet 2023-04-19 14:49:03 +0000
  • 1461285dbf fix: add pthread flag to compile and link Camille Chauvet 2023-04-19 14:08:48 +0000
  • 7e77316d53 add: time is now relatif Camille Chauvet 2023-04-19 14:08:23 +0000
  • 6148d6effe change: 'is dead' -> 'dead' and ' 10' -> '000000010' Camille Chauvet 2023-04-19 14:05:21 +0000
  • 9281e9f508 fix: stop when philo dead Camille Chauvet 2023-04-19 14:02:44 +0000
  • c674f68b2e fix: check if all threads is stopped before destroye data Camille Chauvet 2023-04-19 14:01:59 +0000
  • 07a72c7f89 fix: parsing return error only if nb philo == 0 Camille Chauvet 2023-04-19 13:58:18 +0000
  • 23e8774c44 fix: check argument overflow Camille Chauvet 2023-04-19 13:51:57 +0000
  • f19a96a233 fix: parsing check nb philos > 0 Camille Chauvet 2023-04-19 13:51:35 +0000
  • 622c2bf226 fix: lock mutex Camille Chauvet 2023-04-19 11:59:37 +0000
  • 4e27d103a8 fix: I create now 1 thread by philo Camille Chauvet 2023-04-19 11:53:50 +0000
  • a37cbf88f3 init Camille Chauvet 2023-04-13 13:00:39 +0000