On Thu, Apr 2, 2009 at 10:13 AM, Odessa Silverberg <silverberg.ode...@googlemail.com> wrote: > >> synchronized: >> I'd suggest your starting reading about Java Synchronization. >> 'synchronized' blocks prevent multiple threads from executing the same >> block of code at the same time. They are used to synchronize access to >> methods and instance-variables and avoid race-conditions. Careless use >> of 'synchronized' block, however, could cause dead-locks. > In other word, similar to the lock key word in C/C++
There is no lock keyword in C/C++ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---