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

deadalnix deadalnix at gmail.com
Thu May 31 01:58:34 PDT 2012


Le 31/05/2012 09:49, Andrei Alexandrescu a écrit :
> On 5/31/12 12:28 AM, Jacob Carlborg wrote:
>> On 2012-05-30 21:58, Andrei Alexandrescu wrote:
>>> On 5/30/12 12:52 PM, deadalnix wrote:
>>>> Ha, this is getting somewhere :D
>>>
>>> It's getting where I was the whole time.
>>>
>>> Andrei
>>
>> No, the original problem was that you can synchronize on ALL objects,
>> regardless if they're marked with "synchronized" or not. This it how it
>> works today.
>
> I was the whole time where TDPL is, which is not where the
> implementation is today.
>
> Andrei
>

And which isn't what dlang.org say too. You can agree that this is 
confusing for everybody.


More information about the Digitalmars-d mailing list