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

first version of thread naming (for further analysis purposes)

parent 2df17f7f
No related branches found
No related tags found
No related merge requests found
......@@ -103,18 +103,21 @@ public final class Analysis implements UncaughtExceptionHandler {
final Thread thread = new Thread(new RunnableConsumerStage(stage));
stage.setOwningThread(thread);
this.consumerThreads.add(thread);
thread.setName(stage.getId());
break;
}
case BY_SELF_DECISION: {
final Thread thread = new Thread(new RunnableProducerStage(stage));
stage.setOwningThread(thread);
this.finiteProducerThreads.add(thread);
thread.setName(stage.getId());
break;
}
case BY_INTERRUPT: {
final Thread thread = new Thread(new RunnableProducerStage(stage));
stage.setOwningThread(thread);
this.infiniteProducerThreads.add(thread);
thread.setName(stage.getId());
break;
}
default:
......
wiki @ 63ccbbc8
Subproject commit 0e4474577e1f49bc96e734c286b2d9e0363895e8
Subproject commit 63ccbbc87bd2c0e6599ca91502149dba3cfb99de
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