Package org.broadinstitute.gatk.utils.threading

Examples of org.broadinstitute.gatk.utils.threading.ThreadPoolMonitor


        threadPool.submit(reducer);
    }

    /** Blocks until a free slot appears in the thread queue. */
    protected void waitForFreeQueueSlot() {
        final ThreadPoolMonitor monitor = new ThreadPoolMonitor();
        synchronized (monitor) {
            threadPool.submit(monitor);
            monitor.watch();
        }
    }
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.utils.threading.ThreadPoolMonitor

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.