Package ca.eandb.jdcp.job

Examples of ca.eandb.jdcp.job.ParallelizableJobRunner.run()


    File base = new File("C:\\Users\\Brad\\My Documents\\jmist");
    UUID id = UUID.randomUUID();
    File dir = new File(base, id.toString());

    Runnable runner = new ParallelizableJobRunner(job, dir, Executors.newFixedThreadPool(threads, new BackgroundThreadFactory()), threads, panel, panel.createProgressMonitor("Rendering Cornell Box"));//Runtime.getRuntime().availableProcessors());
    runner.run();

  }

}
View Full Code Here

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.