Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Display more info
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 11 Sep 2007 15:24:54 +0000 (15:24 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 11 Sep 2007 15:24:54 +0000 (15:24 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4582 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/gras/synchro/philosopher.c

index cc5db31..7559027 100644 (file)
@@ -115,7 +115,7 @@ int philosopher (int argc,char *argv[]) {
   dead_end = xbt_mutex_init();
   xbt_mutex_lock(dead_end);
   
   dead_end = xbt_mutex_init();
   xbt_mutex_lock(dead_end);
   
-  INFO0("Spawn the threads");
+  INFO2("Spawn the %d threads (%d lunches scheduled)", philosopher_amount, lunch_amount);
   /* spawn threads */
   for (i=0; i<philosopher_amount; i++) {
      char *name = bprintf("thread %d",i);
   /* spawn threads */
   for (i=0; i<philosopher_amount; i++) {
      char *name = bprintf("thread %d",i);