Skip to content
Snippets Groups Projects
Commit a20b1349 authored by Markus Alexander Kuppe's avatar Markus Alexander Kuppe
Browse files

Let TLCJobFactorys run concurrently (by not setting a job rule).

parent 165a9e5d
No related branches found
No related tags found
No related merge requests found
......@@ -661,9 +661,12 @@ public class TLCModelLaunchDelegate extends LaunchConfigurationDelegate implemen
Job job = null;
if("off".equalsIgnoreCase(cloud)) {
job = new TLCProcessJob(specName, modelName, launch, numberOfWorkers);
// The TLC job itself does not do any file IO
job.setRule(mutexRule);
} else {
if ("built-in".equalsIgnoreCase(cloud)) {
job = new DistributedTLCJob(specName, modelName, launch, numberOfWorkers);
job.setRule(mutexRule);
} else {
//final IProject iproject = ResourceHelper.getProject(specName);
final IFolder launchDir = project.getFolder(modelName);
......@@ -692,8 +695,6 @@ public class TLCModelLaunchDelegate extends LaunchConfigurationDelegate implemen
}
job.setPriority(Job.LONG);
job.setUser(true);
// The TLC job itself does not do any file IO
job.setRule(mutexRule);
// setup the job change listener
TLCJobChangeListener tlcJobListener = new TLCJobChangeListener(config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment