public class Hello extends Processable {
public Hello() {
super("Jack");
}
public void run() {
yield(env().timeout(10));
System.out.println("Hello " + getId());
}
}
public static void main(String[] args) {
Env env = new Env();
env.process(new Hello());
env.run();
}