added class for terminating calculations

This commit is contained in:
NoName11234 2024-01-28 13:39:47 +01:00
parent c292ff2d9e
commit 45fa0ff0b9

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();
}
}