Package org.agilewiki.jactor2.core.examples

Source Code of org.agilewiki.jactor2.core.examples.HungClose

package org.agilewiki.jactor2.core.examples;

import org.agilewiki.jactor2.core.impl.Plant;

public class HungClose {
    static public void main(final String[] _args) throws Exception {
        new Plant();
        try {
            Hanger hanger = new Hanger();
            hanger.looperSOp().signal();
        } finally {
            System.out.println("closing");
            Plant.close();
            System.out.println("closed");
        }
    }
}
TOP

Related Classes of org.agilewiki.jactor2.core.examples.HungClose

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.