-
-
Notifications
You must be signed in to change notification settings - Fork 421
Conversation
|
Wow. |
|
My first thoughts are, why the extern(D) hack? Why not just add an extern(C) interface? |
Because |
- Use extern(D) bindings for the core.thread<->rt.tlsgc interface to avoid importing a rt module in core.
|
+1, both for eliminating the .di file and using extern(D). I was actually working on something a few hours back, but also ran into the bugs Martin reported and didn't have the patience to work around them. I spent the last couple of days staring at the core.thread source code and if I learnt one thing, it's that reading the source right now isn't enjoyable at all. After this is in, I'll post a second refactoring pull request to fix the nondescript internal names ( |
|
Any objections to merging this? |
|
Not from me. |
|
LGTM, great progress towards sanity. We may want to use |
|
Auto-merge toggled on |
remove thread.di header
interface to avoid importing a rt module in core.