added class for terminating calculations

This commit is contained in:
NoName11234 2024-02-11 18:06:20 +01:00
parent e4af54a2bf
commit 7652014773

View File

@ -0,0 +1,15 @@
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(){
this.pool.shutdown();
}
}