Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce waiting times to speed up tests
[simgrid.git] / examples / gras / synchro / philosopher.c
index 3ce27ca..e6652e9 100644 (file)
@@ -70,9 +70,9 @@ static void philo_thread(void *arg) {
    
    for (i=0; i<lunch_amount; i++) {
       pickup(id,i);
-      gras_os_sleep(id / 10.0); /* each philosopher sleeps and eat a time related to its ID */
+      gras_os_sleep(id / 100.0); /* each philosopher sleeps and eat a time related to its ID */
       putdown(id);
-      gras_os_sleep(id / 10.0);
+      gras_os_sleep(id / 100.0);
    }
    
    xbt_mutex_lock(mut_end);