SimGrid-java (3.6.1) unstable; urgency=low
+ * Make Process.kill(process) an instance method, not a static one
* Fix a bug around Process.kill()
* Add dsend and simulatedSleep to the bindings.
* @param process the process to be killed.
*
*/
- public static void kill(Process process) {
- process.nativeStop();
- Msg.info("Process " + process.msgName() + " will be killed.");
+ public void kill() {
+ nativeStop();
+ Msg.info("Process " + msgName() + " will be killed.");
}
- /**
- * This method adds an argument in the list of the arguments of the main function
- * of the process.
- *
- * @param arg The argument to add.
- *
- * @deprecated
- */
- @Deprecated
- protected void addArg(String arg) {
- args.add(arg);
- }
/**
* Suspends the process by suspending the task on which it was