[D-runtime] druntime fixes again break Windows DLL support
Sean Kelly
sean at invisibleduck.org
Tue Apr 26 11:41:36 PDT 2011
On Apr 20, 2011, at 2:06 PM, Rainer Schuetze wrote:
>
> Adding standardDllMain() sounds good to me. I agree with windows.dll, too.
>
> I'm not so sure about windows._thread. OSX has an osx.mach.thread_act, so we might want to have a similar naming for windows, but I have no idea what "act" stands for here.
>
> Looking through the code, it mostly deals with the thread environment block, so windows.teb might be ok, but not really obvious.
>
> dllthread: the code has nothing to do with DLLs explicitely, so it would not fit.
> threadsupp: maybe better: threadaux or threadhelp. The latter would at least match the naming of the dbghelp module.
>
> Though not perfect, threadaux or threadhelp are my favorites.
Okay, _dll.d is being renamed to dll.d and _thread.d to threadaux.d. dbghelp.d is a bit different in that it's an interface to dbghelp.dll, so its name wasn't an arbitrary choice.
More information about the D-runtime
mailing list