On Saturday, 23 March 2019 at 17:33:31 UTC, tchaloupka wrote:
I've no idea what should be done with C's main thread as it
can't be attached because it'll hang.
In one of forum threads I've also read the idea to not using
foreign threads with GC but somehow delegate their work to D's
thread.
Can
On Saturday, 23 March 2019 at 15:28:34 UTC, Ali Çehreli wrote:
On 03/22/2019 12:34 PM, tchaloupka wrote:
> I've searched a lot at it should be working at least on
linux, but
> apparently is not or I'm doing something totally wrong..
>
> Our use case is to call shared D library from C# (.Net Core)
On 03/22/2019 12:34 PM, tchaloupka wrote:
> I've searched a lot at it should be working at least on linux, but
> apparently is not or I'm doing something totally wrong..
>
> Our use case is to call shared D library from C# (.Net Core) and from
> different threads.
We needed to do the same from Ja
On Saturday, 23 March 2019 at 09:47:55 UTC, Andre Pany wrote:
On Friday, 22 March 2019 at 19:34:14 UTC, tchaloupka wrote:
Just to make sure, could you test it with dmd 2.78?
Actually when I remove the explicit GC call within unregistered
thread (which is fixed in
https://github.com/dlang/drun
On Friday, 22 March 2019 at 19:34:14 UTC, tchaloupka wrote:
I've searched a lot at it should be working at least on linux,
but apparently is not or I'm doing something totally wrong..
[...]
I just noticed another issue which might be related but I doubt.
https://issues.dlang.org/show_bug.cgi
I've searched a lot at it should be working at least on linux,
but apparently is not or I'm doing something totally wrong..
Our use case is to call shared D library from C# (.Net Core) and
from different threads.
What I've read about this, is that foreign thread should be
registered by `thre