-public class DreamMaster extends simgrid.msg.Process {
-
- public void main(String[] args) throws JniException, NativeException {
- Msg.info("Hello !");
- Msg.info("Let's create a lazy guy.");
-
- try {
- Host currentHost = Host.currentHost();
- Msg.info("Current hostname: " + currentHost.getName());
-
- LazyGuy lazy = new LazyGuy(currentHost,"LazyGuy");
- Msg.info("Let's wait a little bit...");
+package suspend;
+import org.simgrid.msg .Host;
+import org.simgrid.msg.Msg;
+import org.simgrid.msg.Process;
+import org.simgrid.msg.MsgException;
+import org.simgrid.msg.HostNotFoundException;