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:

  http://ddili.org/ders/d.en/concurrency.html

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:

  https://dconf.org/2020/online/#ali1

Ali

Reply via email to