Send it an interrupt and handle it appropriately.
http://articles.techrepublic.com.com/5100-10878_11-5144546.html

-theSmith

On Jan 28, 3:59 pm, redders <redders6...@googlemail.com> wrote:
> I have a thread listening on a TCP port. When there's nothing coming
> in on that port, the thread blocks. This is fine, and the behaviour I
> want, but how do I kill said thread while it's blocking?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to