X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3910bb4b6962a87e02b05acbf7cc32f7e192a96b..763e6eb2244b2dad1f57be28e69b12e6e5c66795:/examples/gras/synchro/philosopher.c diff --git a/examples/gras/synchro/philosopher.c b/examples/gras/synchro/philosopher.c index 462ef4f75b..cc5db31e35 100644 --- a/examples/gras/synchro/philosopher.c +++ b/examples/gras/synchro/philosopher.c @@ -94,9 +94,6 @@ int philosopher (int argc,char *argv[]) { gras_init(&argc,argv); xbt_assert0(argc>=2,"This program expects one argument (the amount of philosophers)"); - INFO0("Wait 1 sec to check that gras_os_sleep do works"); - gras_os_sleep(1); - /* initializations of the philosopher mecanisms */ philosopher_amount = atoi(argv[1]); state = xbt_new0(int,philosopher_amount); @@ -118,7 +115,7 @@ int philosopher (int argc,char *argv[]) { dead_end = xbt_mutex_init(); xbt_mutex_lock(dead_end); - INFO0("Enough waiting, spawn the threads"); + INFO0("Spawn the threads"); /* spawn threads */ for (i=0; i