On 11/05/12 13:10, Tolriq wrote:
> And a little supplemental question that is linked to this, the sync process 
> can be for example a function that call 3 functions that each takes a lot's 
> of time, in each functions I can check for thread.interrupted to stop it, 
> but from documentation it clears the flag so the main function won't know 
> and will continue to other calls so again what's the correct way to handle 
> the interrupt propagation ?
>
>   
I don't know if it answers your question but it might help:
http://docs.oracle.com/javase/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html


-- 
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