summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2010-10-18 15:44:07 +0800
committerChung-yih Wang <cywang@google.com>2010-10-18 16:03:47 +0800
commit05ea84203978f79842df1d0d17ebaf30073ef1b1 (patch)
tree5b3fb2177c922861ea5415da67ac2cb525884740
parent5a336104824785dcae1e7aaa67d49fa051857ec9 (diff)
downloadandroid_external_nist-sip-05ea84203978f79842df1d0d17ebaf30073ef1b1.tar.gz
android_external_nist-sip-05ea84203978f79842df1d0d17ebaf30073ef1b1.tar.bz2
android_external_nist-sip-05ea84203978f79842df1d0d17ebaf30073ef1b1.zip
Set the name of UDPMessageChannel threads for identification.
bug: http://b/3099451 Change-Id: I82ab421753904913b53032f29ec3d01f9f6353cc
-rw-r--r--java/gov/nist/javax/sip/stack/UDPMessageChannel.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/gov/nist/javax/sip/stack/UDPMessageChannel.java b/java/gov/nist/javax/sip/stack/UDPMessageChannel.java
index 6917a2e..a36aa57 100644
--- a/java/gov/nist/javax/sip/stack/UDPMessageChannel.java
+++ b/java/gov/nist/javax/sip/stack/UDPMessageChannel.java
@@ -207,6 +207,7 @@ public class UDPMessageChannel extends MessageChannel implements
this.myPort = messageProcessor.getPort();
Thread mythread = new Thread(this);
mythread.setDaemon(true);
+ mythread.setName("UDPMessageChannelThread");
mythread.start();