4 * Copyright 2006,2007 Martin Quinson, Malek Cherier
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package.
13 public class LazyGuy extends simgrid.msg.Process {
20 public LazyGuy(Host host,String name)
21 throws NullPointerException, HostNotFoundException, JniException, NativeException
23 super(host,name,null);
27 public void main(String[] args) throws JniException, NativeException {
30 Msg.info("Nobody's watching me ? Let's go to sleep.");
31 simgrid.msg.Process.currentProcess().pause();
33 Msg.info("Uuuh ? Did somebody call me ?");
34 Msg.info("Mmmh, goodbye now.");