On Thu, Jan 6, 2011 at 7:48 PM, Chris <cjse...@gmail.com> wrote: > Mark, could you give me an example of something that would work? > There's a lot of tools in java.util.concurrent that could probably all > be used to solve this so I could use a push in the right direction.
Actually, upon further review, for your case, perhaps wait()/notify() is the best option. You could use java.util.concurrent.locks.ReentrantLock, but I'm not sure whether any of its characteristics are useful to you. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.3 Programming Books: http://commonsware.com/books -- 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