From: Arnaud Giersch Date: Wed, 6 Feb 2013 09:52:04 +0000 (+0100) Subject: Wait a while before effective shutdown. X-Git-Tag: v3_9_90~510^2~25 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/aafaaf396698612d5174bb0780c0a548e5422d84?hp=9f66e12669c65c600c935aed2188e92160616c62;ds=inline Wait a while before effective shutdown. --- diff --git a/examples/msg/cloud/masterslave_virtual_machines.c b/examples/msg/cloud/masterslave_virtual_machines.c index 8f2780e542..e1527eb61e 100644 --- a/examples/msg/cloud/masterslave_virtual_machines.c +++ b/examples/msg/cloud/masterslave_virtual_machines.c @@ -134,6 +134,9 @@ int master(int argc, char *argv[]) { MSG_task_send(finalize, mailbox_buffer); } + XBT_INFO("Wait a while before effective shutdown."); + MSG_process_sleep(2); + xbt_dynar_foreach(vms,i,vm) { MSG_vm_shutdown(vm); MSG_vm_destroy(vm);