[D-runtime] Windows DLL support breaks again with latest druntime

Alex Rønne Petersen xtzgzorex at gmail.com
Fri May 11 15:36:47 PDT 2012


We could always write static wrappers in the Thread class that just calls them.

But what about C code? We will have to export these functions to C one
way or another, so we can't get rid of them.

Regards,
Alex

On Sat, May 12, 2012 at 12:31 AM, Sean Kelly <sean at invisibleduck.org> wrote:
> On May 11, 2012, at 3:29 PM, David Nadlinger wrote:
>
>> On 12 May 2012, at 0:05, Alex Rønne Petersen wrote:
>>> It had been deprecated for eons and was finally removed recently. The
>>> new function to use is thread_findByAddr.
>>
>> It always struck me as odd that the core.thread underscore/extern( C ) functions are actually supposed to be called directly from user code. For the rest of druntime, it's the other way round, e.g. in case of Runtime vs. rt_* …
>
> They never got a nice wrapper like the Runtime and GC routines.  I think this was simply because they should be used so infrequently, particularly from D code, that it didn't seem worthwhile.  This should probably change.
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime


More information about the D-runtime mailing list