X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dccf1b41e9c7b5a696f01abceaa2779fe65f154f..324a92e9d2403c2fafb9b9d816d8f1d4fffb9f58:/examples/msg/async-waitany/async-waitany.c diff --git a/examples/msg/async-waitany/async-waitany.c b/examples/msg/async-waitany/async-waitany.c index 01ebfc0635..95b92aa18d 100644 --- a/examples/msg/async-waitany/async-waitany.c +++ b/examples/msg/async-waitany/async-waitany.c @@ -30,7 +30,7 @@ static int sender(int argc, char *argv[]) xbt_dynar_push_as(comms, msg_comm_t, comm); XBT_INFO("Send to receiver-%ld %s comm_size %f", i % receivers_count, taskname, task_comm_size / coef); } - + /* Here we are waiting for the completion of all communications */ while (xbt_dynar_is_empty(comms) == 0) { msg_comm_t comm; @@ -63,7 +63,7 @@ static int receiver(int argc, char *argv[]) char mailbox[80]; snprintf(mailbox,79, "receiver-%d", id); - + MSG_process_sleep(10); for (int i = 0; i < task_amount; i++) { XBT_INFO("Wait to receive task %d", i);