X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/49d8612567f936d626b6933887cffbea35254b3b..79e30a33db8c596e304b812671ad6ab569676baa:/teshsuite/mc/mcmini/barber_shop_ok.c diff --git a/teshsuite/mc/mcmini/barber_shop_ok.c b/teshsuite/mc/mcmini/barber_shop_ok.c index b0f17ca859..827b8db873 100644 --- a/teshsuite/mc/mcmini/barber_shop_ok.c +++ b/teshsuite/mc/mcmini/barber_shop_ok.c @@ -145,8 +145,10 @@ int main(int argc, char* argv[]) exit(-1); } - printf("\nSleepBarber.c\n\n"); - printf("A solution to the sleeping barber problem using semaphores.\n"); + if (DEBUG) { + printf("\nSleepBarber.c\n\n"); + printf("A solution to the sleeping barber problem using semaphores.\n"); + } // Initialize the random number generator with a new seed. srand48(RandSeed);