forked from JavaTX/JavaCompilerCore
added class for terminating calculations
This commit is contained in:
parent
e4af54a2bf
commit
7652014773
@ -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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user