-/* Copyright (c) 2010-2015. The SimGrid Team.
+/* Copyright (c) 2010-2019. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
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;
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");