Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : update tesh examples with last modifications made on information...
[simgrid.git] / examples / msg / masterslave / masterslave_kill.c
index b6248ae..7baf1e6 100644 (file)
@@ -16,9 +16,10 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
 static int slave(int argc, char *argv[])
 {
   XBT_INFO("Hello!");
-  XBT_INFO("Suspend process");
+  XBT_INFO("Suspending myself");
   MSG_process_suspend(MSG_process_self());
-  MSG_task_execute(MSG_task_create("toto",10000000000000000,0,NULL));
+  XBT_INFO("OK, OK. Let's work");
+  MSG_task_execute(MSG_task_create("toto", 1e9, 0, NULL));
   XBT_INFO("Bye!");
   return 0;
 }                               /* end_of_lazy_guy */