X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/04cb8833befbe07b6b94ff0cae98bc17b78724e3..95a02e346b431b0594770dc363257e474326f91d:/examples/msg/mc/electric_fence.c diff --git a/examples/msg/mc/electric_fence.c b/examples/msg/mc/electric_fence.c index 7d32c04d4c..7729c38a9d 100644 --- a/examples/msg/mc/electric_fence.c +++ b/examples/msg/mc/electric_fence.c @@ -1,12 +1,11 @@ -/* Copyright (c) 2013-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2013-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ /******************** Non-deterministic message ordering *********************/ /* This example implements one process which receives messages from two other */ -/* processes. There is no bug on it, it is just provided to test the soundness*/ +/* processes. There is no bug on it, it is just provided to test the soundness*/ /* of the state space reduction with DPOR, if the maximum depth (defined with */ /* --cfg=model-check/max_depth:) is reached. */ /******************************************************************************/ @@ -21,7 +20,8 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(electric_fence, "Example to check the soundness of static int server(int argc, char *argv[]) { - msg_task_t task1 = NULL, task2 = NULL; + msg_task_t task1 = NULL; + msg_task_t task2 = NULL; msg_comm_t comm_received1 = MSG_task_irecv(&task1, "mymailbox"); msg_comm_t comm_received2 = MSG_task_irecv(&task2, "mymailbox");