Perhaps he was thinking of C#'s lock keyword ;)

On Thu, Apr 2, 2009 at 8:17 PM, Marco Nelissen <[email protected]> wrote:
>
> On Thu, Apr 2, 2009 at 10:13 AM, Odessa Silverberg
> <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to