You're correct.
AsyncTask objects are not threads. They are chunks of code that are executed 
in a thread.
The thread on which an AsyncTask is executed is obtained from a pool of 
threads. A thread that is 'free' (i.e. idle/parked and not doing anything) 
is obtained from the pool and the AsyncTask is executed on that thread. 

The pool of threads is maintained by the 'system'. You don't need to stop or 
interrupt them.

Calling cancel() on a AsyncTask does not stop the thread. It just tries to 
cancel the AsyncTask, nothing more.

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

Reply via email to