Foreign threads in D code.

Igor Shirkalin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 10 13:03:32 PDT 2017


Hello!

I have written some D code that I need to link to :C++ huge 
project. Let it be just one function that uses GC. The question 
is: if C++ code creates several threads and runs this :D function 
simultaneously, will GC work correctly?

p.s. Of course the druntime is initialized before it.

Igor Shirkalin




More information about the Digitalmars-d-learn mailing list