| /********************************************************************* |
| * Copyright (c) 2019 The University of York. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| **********************************************************************/ |
| package org.eclipse.epsilon.executors.evl; |
| |
| import org.eclipse.epsilon.evl.concurrent.EvlModuleParallel; |
| import org.eclipse.epsilon.evl.concurrent.EvlModuleParallelElements; |
| |
| /** |
| * Parallel EVL executor (parallelises everything by default). |
| * |
| * @author Sina Madani |
| * @since 1.6 |
| */ |
| public class ParallelEvlExecutor extends EvlExecutor { |
| |
| public ParallelEvlExecutor() { |
| this(new EvlModuleParallelElements()); |
| } |
| |
| public ParallelEvlExecutor(int parallelism) { |
| this(new EvlModuleParallelElements(parallelism)); |
| } |
| |
| public ParallelEvlExecutor(EvlModuleParallel module) { |
| super(module); |
| } |
| } |