On Fri, Jan 16, 2009 at 9:01 AM, Bobbie <[email protected]> wrote:
> 3) My intent wasn't to create a thread for each key, I just needed to > make sure the keystrokes were posted in order, so I thought this was > the best way to do it. Actually, putting each thing to do in a separate thread ensures that you have no guarantee about the order in which they will be processed, because each thread by definition runs concurrently. (In practice, when executing work at the rate the user types, this won't be a problem. But what you are doing is the exact opposite of what you say you are trying to accomplish.) -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

