1
0

added class UnifyTaskModelParallel

This commit is contained in:
NoName11234 2024-04-29 21:43:30 +02:00
parent 996ef1a735
commit 2ffa86e821

View File

@ -0,0 +1,18 @@
package de.dhbwstuttgart.typeinference.unify;
import java.util.concurrent.ForkJoinPool;
public class UnifyTaskModelParallel {
private ForkJoinPool pool;
public void setPool(ForkJoinPool pool){
this.pool = pool;
}
public void cancel(){
if(this.pool != null){
this.pool.shutdown();
}
}
}