synchronized (this[.classinfo]) in druntime and phobos

Regan Heath regan at netmail.co.nz
Thu May 31 04:10:52 PDT 2012


On Thu, 31 May 2012 12:06:45 +0100, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:

> On 5/31/12 3:27 AM, Regan Heath wrote:
>> On Thu, 31 May 2012 10:49:27 +0100, Andrei Alexandrescu
>> <SeeWebsiteForEmail at erdani.org> wrote:
>>
>>> On 5/31/12 2:45 AM, Regan Heath wrote:
>>>> Ok, how about you tell us what term you want to use for the current
>>>> state of affairs then, because arguing about this is pointless and I'm
>>>> happy to use whatever term you deem appropriate (because I couldn't  
>>>> care
>>>> less what the term is - as long as we all know what is meant, which I
>>>> believe is the case here).
>>>
>>> The idiom is called "scoped locking".
>>
>> So.. the mutex is "scoped locking"?
>
> No, the Java-style approach with the synchronized statement etc.

*sigh* I give up, this is pointless.

R

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


More information about the Digitalmars-d mailing list