Probably you just need some flag signaling that your hardware isn't ready. Rendering thread always runs without blocking, checks for this flag and do not do certain things (may be render function just returns right away). UI thread sets the flag and then rendering thread checks for it.
On 9 янв, 11:22, Kostya Vasilyev <kmans...@gmail.com> wrote: > 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