How to ensure a thread cannot be blocked by the GC?

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 4 00:02:29 PST 2014


On 2014-12-03 23:53, ponce wrote:
> I have a DLL written in D that gets called by two different threads,
> created by a non-D host program (audio plugin). I did not create those
> threads, but my understanding is that they get "attached" to the D runtime.

No, the runtime in D doesn't know anything about threads created outside 
of D, unless you explicitly register them with the runtime.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list