Hi Brad,
> Can anyone tell me how to safely stop a thread?
>
You can't stop a thread but you can let it die. Just return from the
Thread#run method. Most of the time you will have something like:
public volatile boolean shutdownRequested = false;
public void run() {
while (!shutdownReques
g, including abstinence
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Cyril Jaquier
Sent: Monday, January 05, 2009 11:25 AM
To: android-developers@googlegroups.com
Subject: [android-developers] Re: Stopping a Thread
Hi Brad,
&
2 matches
Mail list logo