Starting and managing threads

Ali Çehreli acehreli at
Mon Dec 27 10:59:07 UTC 2021

On 12/27/21 1:33 AM, Bagomot wrote:

 > separate thread, without blocking the main one.

I think you can use std.concurrency there. I have a chapter here:

Look for 'struct Exit' to see how the main thread signals workers to 
stop running.

And some std.concurrency hints appear in my DConf Online 2020 
presentation here:


More information about the Digitalmars-d-learn mailing list