X-Git-Url: https://git.piment-noir.org/?p=TD_SE.git;a=blobdiff_plain;f=philosophe%2Fphilosophe.c;h=22923ceda26bc18858965e61823371811e2714af;hp=e31795167fc58a941654337f459a64efe1ab56f5;hb=a0451866da486d3ab7868d41ff0f25c217c531bb;hpb=151a0f5636afe11afad9428f737e71372a4c24e4 diff --git a/philosophe/philosophe.c b/philosophe/philosophe.c index e317951..22923ce 100644 --- a/philosophe/philosophe.c +++ b/philosophe/philosophe.c @@ -12,7 +12,7 @@ // fourchette droite du philosophe i #define libre 1 #define occupe 0 -static int fourch[N] = { libre, libre, libre, libre, libre }; +static int fourch[N] = { libre }; sem_t mutex;