On Friday, 23 November 2018 at 21:27:26 UTC, Kagamin wrote:
You don't need to initialize runtime because it's initialized by standard D startup code, but you need to attach threads that are not created by D or static constructors won't be run and only C-level code would work there.
Thank you, I wasn't aware of this. For references, I found this post which explains thread_attachThis. I assume you meant this function.
Kind regards Andre