f9abb157c3
ajout correciton screenshot
master
Hugo LAMY
2022-02-03 23:29:06 +01:00
5f86d2de1c
free tous les mallocs
Hugo LAMY
2022-02-02 00:31:51 +01:00
1dc4de3236
mise en page pour rendu, et annule philo inversees car pbm 610 200 100
Hugo LAMY
2022-02-01 18:15:26 +01:00
ef2eb4e921
eleve g3 dans makefile
hugogogo
2022-01-31 19:32:17 +01:00
2fa49b3242
droitier gaucher fonctionne, plus de lock order violated
hugogogo
2022-01-31 18:42:00 +01:00
41726f5e41
mise a la norme
hugogogo
2022-01-31 10:28:26 +01:00
774bdb0a4a
en fait droitier gaucher ne marchait pas, revenu a quinconce, toujours pbm lock order
hugogogo
2022-01-31 09:44:55 +01:00
c3ef767bdb
implemenation droite gauche fonctionne en changeant technique de temps
hugogogo
2022-01-31 00:17:07 +01:00
7dc4c5a84f
possible race conflicts resolut
hugogogo
2022-01-30 15:53:45 +01:00
d9142b9af6
makefile suppress builds directory
Hugo LAMY
2022-01-28 15:16:08 +01:00
836c02f3f5
protection segfault creation zero philosophs + deplacement fichiers dans philo + ajout exeption philo folder dans gitignore
Hugo LAMY
2022-01-27 15:08:56 +01:00
e45ca1331f
gestion cas n_eat a zero
Hugo LAMY
2022-01-26 18:58:39 +01:00
232684b73a
gestion erreur parsing
Hugo LAMY
2022-01-26 18:01:39 +01:00
eec1a73786
changements avec luke
Hugo LAMY
2022-01-26 17:07:57 +01:00
77f2e6b978
ajout static, renames, pere fouettard tweaks
Hugo LAMY
2022-01-26 16:31:36 +01:00
6d3280631c
format pour rendu
Hugo LAMY
2022-01-26 15:37:17 +01:00
b192efa4a9
mise a la norme et renommer fonctions
Hugo LAMY
2022-01-26 15:33:29 +01:00
ab0c4efa35
oubli modif main
Hugo LAMY
2022-01-26 15:06:42 +01:00
bf80fde30b
1 philo ok, deplacement diff_time dans generic, renomme go_sleep, ferme lock en fin
Hugo LAMY
2022-01-26 14:49:02 +01:00
2f747d0563
fonctionne ok sauf pour 1
Hugo LAMY
2022-01-26 13:52:30 +01:00
6561340fb9
check died dans un autre thread et reorganisation fichiers avec main thread
hugogogo
2022-01-26 10:52:06 +01:00
03633fa5b2
resolution erreur oublis unlock si dead + arret simulation si nombre death precise
hugogogo
2022-01-26 08:19:12 +01:00
475817540c
erreur lors des arrets
Hugo LAMY
2022-01-25 22:05:39 +01:00
d8475537e0
nimp dans timestamp
Hugo LAMY
2022-01-25 18:48:49 +01:00
b998de9340
ajout fonction sleep uqi compare action vs death
hugogogo
2022-01-23 18:09:46 +01:00
82fef42d2a
put time.c and message.c into generic.c
Hugo LAMY
2022-01-22 19:19:39 +01:00
cb615cb6b3
meilleur organisation code structures et variables
Hugo LAMY
2022-01-22 19:16:23 +01:00
3ba76ccc4e
reorganisation structs et timestamp global
Hugo LAMY
2022-01-22 12:41:30 +01:00
6a4aad9503
debut implementation death tout est casse
Hugo LAMY
2022-01-21 18:32:37 +01:00
be439700e9
Merge branch 'hugo'
Hugo LAMY
2022-01-21 16:17:08 +01:00
964950f5bd
messages en couleurs
hugo
Hugo LAMY
2022-01-21 16:16:05 +01:00
3ee91785f6
routine des philosophers ok et debut usage time
Hugo LAMY
2022-01-21 12:05:52 +01:00
9a59f54641
save from school
Hugo LAMY
2022-01-20 15:45:49 +01:00
ac9d619731
change name mtx_msg for m_print, malloc mutex instead of equal NULL, malloc id with pthread_t instead of int, and change name some functions
hugogogo
2022-01-19 17:47:47 +01:00