<div dir="ltr"><div>dlopen() of a D shared library works when called from a C++ file, and that a C++ file can call multiple D shared libraries simultaneously when using RTLD_LAZY option. </div><div><br></div><div>Before waiting for a full solution with an integrated druntime, is there at least a way to have a separate runtime in each shared library, so that dlopen() can be called from a D file?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 1:07 AM, Jacob Carlborg via Digitalmars-d <span dir="ltr"><<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-05-20 23:35, bitwise wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Heh.. That's pretty useless. Any idea on the state of things? Like if<br>
there are plans to support this in the near future(few months)? I<br>
couldn't find many conversations on this. This kinda-totally ruins my<br>
plans(on OSX at least).<br>
</blockquote>
<br></span>
I don't think anyone is working on this. Native TLS is a prerequisite which requires changes both to the compiler and the runtime. There's an enhancement request for native TLS [1].<br>
<br>
[1] <a href="https://issues.dlang.org/show_bug.cgi?id=9476" target="_blank">https://issues.dlang.org/show_bug.cgi?id=9476</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
/Jacob Carlborg<br>
</font></span></blockquote></div><br></div>