X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=philosophe%2Fphilosophe.c;h=22923ceda26bc18858965e61823371811e2714af;hb=a0451866da486d3ab7868d41ff0f25c217c531bb;hp=e31795167fc58a941654337f459a64efe1ab56f5;hpb=4ed359e8f4a3ded5357fd63f276dafec2642cb57;p=TD_SE.git 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;