On Monday, 28 November 2022 at 18:51:37 UTC, NonNull wrote:
I tested this with D threads and it works for my test program.
I might guess that this is so in general, because such a
library has to successfully work with arbitrary MS VC++ and
that "interop" is defined by MS to work.
I worked on
On Saturday, 26 November 2022 at 23:36:13 UTC, NonNull wrote:
In the CLR module I have a static variable that can contain a
reference to a .NET object. I need that variable to be thread
local. I achieved this by prefixing its declaration with
[System::ThreadStaticAttribute]. But this is thread
Hello, a low level question about Windows internals and D
interacting with .NET at a low level.
I just made an experimental native .lib (static library) with
MS's C++ compiler, providing a C API for D to link to. The .lib
contains one module compiled with the /CLR option which provides
some f