Starting and managing threads

Bagomot bagomot at gmail.com
Sun Jan 16 09:38:52 UTC 2022


> The program does nothing probably because of that continue. (?)

No, it does work inside the loop.

> So, the event loop is in a separate thread. What should happen 
> when the events trigger? Do you want this thread to handle the 
> events or should this thread send a > message to the main 
> thread (or perhaps a separate thread that responds to these > 
> events).

I want the events to be handled on the same thread (not on the 
main).


More information about the Digitalmars-d-learn mailing list