Skip to content
Snippets Groups Projects
Commit 32722173 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

added "hidden" method for analysis interrupt

parent d2d2474c
No related branches found
No related tags found
No related merge requests found
......@@ -256,19 +256,20 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught
}
}
// public void abortEventually() {
// for (Thread thread : this.finiteProducerThreads) {
// thread.interrupt();
// }
//
// for (Thread thread : this.consumerThreads) {
// thread.interrupt();
// }
//
// for (Thread thread : this.infiniteProducerThreads) {
// thread.interrupt();
// }
// }
// TODO: implement
private void abortEventually() {
for (Thread thread : this.finiteProducerThreads) {
thread.interrupt();
}
for (Thread thread : this.consumerThreads) {
thread.interrupt();
}
for (Thread thread : this.infiniteProducerThreads) {
thread.interrupt();
}
}
/**
* This method will start the Analysis and block until it is finished.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment