Set name of unnamed threads

This commit is contained in:
johni0702
2015-05-24 15:18:41 +02:00
parent 1c9a04d1dc
commit 538e95ad95
12 changed files with 25 additions and 25 deletions

View File

@@ -155,7 +155,7 @@ public class ReplaySender extends ChannelInboundHandlerAdapter {
this.replayLength = file.metadata().get().getDuration();
if (asyncMode) {
new Thread(asyncSender).start();
new Thread(asyncSender, "replaymod-async-sender").start();
}
}
@@ -170,7 +170,7 @@ public class ReplaySender extends ChannelInboundHandlerAdapter {
this.asyncMode = asyncMode;
if (asyncMode) {
this.terminate = false;
new Thread(asyncSender).start();
new Thread(asyncSender, "replaymod-async-sender").start();
} else {
this.terminate = true;
}