include the port in the thread name (useful for the sim)

This commit is contained in:
jrandom
2004-06-20 00:03:45 +00:00
committed by zzz
parent bbf73f0937
commit e28502454b

View File

@@ -46,7 +46,7 @@ public class AdminManager implements Service {
private void startup(int port) {
_listener = new AdminListener(_context, port);
I2PThread t = new I2PThread(_listener);
t.setName("Admin Listener");
t.setName("Admin Listener:" + port);
t.setDaemon(true);
t.setPriority(Thread.MIN_PRIORITY);
t.start();