mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 18:59:41 +02:00
Added unique identifier to each thread name (SMACK-51).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6948 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
2407d9e30f
commit
bf02dbe3da
3 changed files with 10 additions and 4 deletions
|
@ -92,7 +92,7 @@ class PacketWriter {
|
|||
writePackets(this);
|
||||
}
|
||||
};
|
||||
writerThread.setName("Smack Packet Writer");
|
||||
writerThread.setName("Smack Packet Writer (" + connection.connectionCounterValue + ")");
|
||||
writerThread.setDaemon(true);
|
||||
}
|
||||
|
||||
|
@ -222,7 +222,7 @@ class PacketWriter {
|
|||
keepAliveThread = new Thread(target);
|
||||
target.setThread(keepAliveThread);
|
||||
keepAliveThread.setDaemon(true);
|
||||
keepAliveThread.setName("Smack Keep Alive");
|
||||
keepAliveThread.setName("Smack Keep Alive (" + connection.connectionCounterValue + ")");
|
||||
keepAliveThread.start();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue