X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f704e0bb48c5990fee9ece0700a4069e9f479d73..3b98b060322f446c6e9321d1a95a113135da22a4:/examples/msg/mc/centralized_mutex.c diff --git a/examples/msg/mc/centralized_mutex.c b/examples/msg/mc/centralized_mutex.c index 64a4461211..36f9853d9f 100644 --- a/examples/msg/mc/centralized_mutex.c +++ b/examples/msg/mc/centralized_mutex.c @@ -30,8 +30,8 @@ static int coordinator(int argc, char *argv[]) if (CS_used) { // need to push the request in the vector XBT_INFO("CS already used. Queue the request"); xbt_dynar_push(requests, &req); - } else { // can serve it immediatly - XBT_INFO("CS idle. Grant immediatly"); + } else { // can serve it immediately + XBT_INFO("CS idle. Grant immediately"); msg_task_t answer = MSG_task_create("grant", 0, 1000, NULL); MSG_task_send(answer, req); CS_used = 1; @@ -81,7 +81,7 @@ static int client(int argc, char *argv[]) int main(int argc, char *argv[]) { MSG_init(&argc, argv); - MSG_create_environment("../msg_platform.xml"); + MSG_create_environment("../../platforms/small_platform.xml"); MSG_function_register("coordinator", coordinator); MSG_function_register("client", client); MSG_launch_application("deploy_centralized_mutex.xml");