1 /* Copyright (c) 2012-2018. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 package app.centralizedmutex;
8 import org.simgrid.msg.Msg;
12 throw new IllegalAccessError("Utility class");
15 public static void main(String[] args) {
18 String platf = args.length > 1 ? args[0] : "../platforms/small_platform.xml";
19 String deploy = args.length > 1 ? args[1] : "./centralizedmutex.xml";
21 /* construct the platform and deploy the application */
22 Msg.createEnvironment(platf);
23 Msg.deployApplication(deploy);
25 /* execute the simulation. */