On Thursday, 4 December 2014 at 08:18:23 UTC, ponce wrote:
In fact I was registering them both with core.sys.windows.dll.dll_thread_attach() when callbacked with DLL_THREAD_ATTACH, but I see now that I should instead register to the runtime only the interruptible thread.

Yes, I assume you should still call it for the real time thread, but with the first param set to false?

bool dll_thread_attach( bool attach_thread = true, bool initTls = true )

Made-up problem!

Made-up problems can be very useful. I got some new ideas for real time GC support when thinking about this… ;-)

Reply via email to