function is `@nogc` yet allocates closures with the GC work around!
workman
workman at gmail.com
Tue Jan 11 15:30:00 UTC 2022
On Tuesday, 11 January 2022 at 13:32:58 UTC, Dennis wrote:
> On Tuesday, 11 January 2022 at 11:56:39 UTC, workman wrote:
>> Is there a workaround to made this work ?
>
> Make sure `doTask` takes a `scope` delegate.
To simple put, If the doTask is execute in other thread, do I
need some things like volatile for fiber stack var I?
More information about the Digitalmars-d
mailing list