https://issues.dlang.org/show_bug.cgi?id=20430

--- Comment #5 from Rainer Schuetze <[email protected]> ---
> https://wiki.dlang.org/Win32_DLLs_in_D#D_code_calling_D_code_in_DLLs

IMO the gcProxy approach is so limited (no multi-threading, no sharing of other
resources) that we should rather remove that section or add a large flashing
warning at the top. We need something like
https://dconf.org/2016/talks/thaut.html to support sharing the runtime across
DLLs.

If someone actually uses the gcProxy, a simple fix should be to disable
parallel marking by adding this line

extern (C) __gshared string[] rt_options = ["gcopt=parallel:0"];

--

Reply via email to