[D-runtime] [dmd-internals] why core/thread.d and core/thread.di in druntime?

Andrei Alexandrescu andrei at erdani.com
Thu Jan 3 13:23:42 PST 2013


Sigh, that kind of duplication is a bummer. Any bright ideas on how to 
avoid it? Can we try again using the automatic di generator?

Andrei

On 1/3/13 3:24 PM, Sean Kelly wrote:
> I think this had something to do with working towards shared library support.  thread.di used to be automatically generated.  See:
>
> https://github.com/D-Programming-Language/druntime/pull/132
>
> On Jan 3, 2013, at 12:12 PM, Andrei Alexandrescu<andrei at erdani.com>  wrote:
>
>> +bcc dmd-internals
>> +d-runtime
>> +Sean Kelly
>>
>> Any definite response on this? What is special about thread.d/di? It's the only file in that directory that has a separate header.
>>
>>
>> Thanks,
>>
>> Andrei
>>
>> On 1/3/13 2:40 PM, Jonathan M Davis wrote:
>>> On Thursday, January 03, 2013 14:12:34 Andrei Alexandrescu wrote:
>>>> See
>>>>
>>>> https://github.com/D-Programming-Language/druntime/blob/master/src/core/thre
>>>> ad.d
>>>>
>>>> https://github.com/D-Programming-Language/druntime/blob/master/src/core/thre
>>>> ad.di
>>>>
>>>> Why?
>>>
>>> Wouldn't this question belong in the Runtime list?
>>>
>>> In any case, it's my understanding that thread.d/di is being treated the same
>>> as object_.d / object.di in that the .di files is being maintained manually.
>>>
>>> - Jonathan M Davis
>>> _______________________________________________
>>> dmd-internals mailing list
>>> dmd-internals at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>


More information about the D-runtime mailing list