Integrate vibe.d into Windows Service

Andre Pany andre at s-e-a-p.de
Fri Nov 23 23:19:57 UTC 2018


On Friday, 23 November 2018 at 21:35:57 UTC, Andre Pany wrote:
> 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

Post explaining thread_attachThis 
https://forum.dlang.org/thread/ounui4$171a$1@digitalmars.com


More information about the Digitalmars-d-learn mailing list