mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +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
|
@ -77,7 +77,7 @@ class PacketReader {
|
|||
parsePackets(this);
|
||||
}
|
||||
};
|
||||
readerThread.setName("Smack Packet Reader");
|
||||
readerThread.setName("Smack Packet Reader (" + connection.connectionCounterValue + ")");
|
||||
readerThread.setDaemon(true);
|
||||
|
||||
listenerThread = new Thread() {
|
||||
|
@ -90,7 +90,7 @@ class PacketReader {
|
|||
}
|
||||
}
|
||||
};
|
||||
listenerThread.setName("Smack Listener Processor");
|
||||
listenerThread.setName("Smack Listener Processor (" + connection.connectionCounterValue + ")");
|
||||
listenerThread.setDaemon(true);
|
||||
|
||||
resetParser();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue