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

Dmitry Olshansky dmitry.olsh at gmail.com
Tue May 29 12:41:47 PDT 2012


On 29.05.2012 17:59, Jacob Carlborg wrote:
> On 2012-05-29 14:29, Dmitry Olshansky wrote:
>
>> Agreed, awfuly crippled design for a language with Thread-local by
>> default.
>> Looks like we have 'oh my god, what were they thinking' moment here.
>> If anything I'd rather re-implement the whole v-table infrastructure via
>> mixins, templates & friends.
>
> I'm pretty sure that was decided long before D 1.0 and way way longer
> before D2 where TLS was introduced.
>

I know. If anything it's hardly a good excuse, it should have been 
revisited once TLS was introduced. It still can be now.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list