1 package org.simantics.graph.utils;
3 import java.util.concurrent.ExecutorService;
4 import java.util.concurrent.Executors;
6 public class GraphExecutor {
7 public static final int EXECUTOR_THREADS = Runtime.getRuntime().availableProcessors();
9 * A shared executor for all graph compilers.
11 public static final ExecutorService EXECUTOR = Executors.newFixedThreadPool(EXECUTOR_THREADS);