public Process(Host host, String name, String[]args) {
this();
this.host = host;
+ if (host == null)
+ throw new NullPointerException("Process name cannot be NULL");
if (name == null)
throw new NullPointerException("Process name cannot be NULL");
this.name = name;
public Process(Host host, String name, String[]args, double startTime, double killTime) {
this();
this.host = host;
+ if (host == null)
+ throw new NullPointerException("Process name cannot be NULL");
if (name == null)
throw new NullPointerException("Process name cannot be NULL");
this.name = name;
public native void resume();
/** Tests if a process is suspended.
*
- * @see {@link #suspend()} and {@link #resume()}
- */
+ * @see #suspend()
+ * @see #resume()
+ */
public native boolean isSuspended();
/**
*/
private static native void nativeInit();
static {
- Msg.nativeInit();
+ org.simgrid.NativeLib.nativeInit();
nativeInit();
}
/**