Disallow thread local concepts to allow fibers move between threads @notl
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Jun 15 08:43:12 UTC 2024
On 15/06/2024 8:50 AM, Sebastiaan Koppe wrote:
> On Friday, 14 June 2024 at 17:30:27 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>>
>> Destroy!
>
> Instead of introducing 3 new attributes I think its a lot better to make
> TLS @system instead.
>
> TLS should be used sparingly anyway, so making its usage more difficult
> is a lot cheaper than extra attributes than make everything else harder.
That doesn't help ``TaskLocal`` which is a fiber-local wrapper in
vibe.d, it should be stored in TLS.
You end up needing a whitelist solution.
More information about the dip.ideas
mailing list