Package gov.nasa.jpf.vm

Examples of gov.nasa.jpf.vm.ThreadList


    }
   
    @Override
    public ChoiceGenerator<ThreadInfo> createThreadTerminateCG (ThreadInfo terminateThread) {
        // terminateThread is already TERMINATED at this point
        ThreadList tl = vm.getThreadList();

        // NOTE returning null does not directly define an end state - that's up to
        // a subsequent call to vm.isEndState()
        // <2do> FIXME this is redundant and error prone
        if (tl.hasAnyAliveThread()) {
            return new HJThreadChoice( "terminate", getRunnablesWithout(terminateThread), true);
        } else {
            return null;
        }
    }
View Full Code Here

TOP

Related Classes of gov.nasa.jpf.vm.ThreadList

Copyright © 2018 www.massapicom. 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.