/*
* Master of a basic master/slave example in Java
*
- * Copyright 2006,2007,2010 The SimGrid Team. All rights reserved.
+ * Copyright 2006-2012 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.
try {
Msg.info("Create process on host 'alice'");
process2 = new Slave("alice","slave");
+ process2.start();
} catch (MsgException e){
System.out.println("Process2!");
}
break;
}
}
-
process2.kill();
Msg.info("Process2 is now killed, should exit now");