[dmd-internals] why core/thread.d and core/thread.di in druntime?
Sean Kelly
sean at invisibleduck.org
Sat Jan 19 17:11:08 PST 2013
On Jan 9, 2013, at 9:41 AM, Martin Nowak <code at dawg.eu> wrote:
> Am 03.01.2013 20:12, schrieb Andrei Alexandrescu:
>> See
>>
>> https://github.com/D-Programming-Language/druntime/blob/master/src/core/thread.d
>>
>> https://github.com/D-Programming-Language/druntime/blob/master/src/core/thread.di
>>
>> Why?
> To hide the implementation as thread module needs to have access to runtime internals.
It actually doesn't. I was looking at the thread implementation yesterday and core.thread should absolutely not be importing rt.* or gc.*, and in fact the rt.* module it imports shouldn't exist at all. I'm working on a fix, but still deliberating the best approach.
More information about the dmd-internals
mailing list