08.01.2011 10:37, Bob Kerns пишет:
Memorize this pattern! If you're using notify/wait, it should ALWAYS
look something like this.

Always - except unless you actually want to respect the meaning of InterruptedException and unwind the code around wait() to the caller, canceling the operation.

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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