Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 90:a40b887a9234
add thread name.
author | oc |
---|---|
date | Fri, 16 May 2014 20:37:06 +0900 |
parents | 1503a373ab73 |
children | cec9f6aa9398 |
files | build.gradle src/main/java/com/glavsoft/rfb/protocol/Protocol.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/build.gradle Fri May 09 19:20:33 2014 +0900 +++ b/build.gradle Fri May 16 20:37:06 2014 +0900 @@ -1,8 +1,8 @@ apply plugin:'java' apply plugin: 'eclipse' -sourceCompatibility = 1.7 -targetCompatibility = 1.7 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 version = '2.7.2' project.ext.baseName = 'tightvnc-jviewer'
--- a/src/main/java/com/glavsoft/rfb/protocol/Protocol.java Fri May 09 19:20:33 2014 +0900 +++ b/src/main/java/com/glavsoft/rfb/protocol/Protocol.java Fri May 16 20:37:06 2014 +0900 @@ -408,14 +408,14 @@ sendRefreshMessage(); senderTask = new SenderTask(messageQueue, writer, this); - senderThread = new Thread(senderTask); + senderThread = new Thread(senderTask, "SenderTask"); senderThread.start(); decoders.resetDecoders(); receiverTask = new TreeTask( reader, null, clipboardController, decoders, this, rfb); - receiverThread = new Thread(receiverTask); + receiverThread = new Thread(receiverTask, "TreeTask"); receiverThread.start(); } }