Garbage Collection Issue

Steven Schveighoffer schveiguy at gmail.com
Mon Jun 1 12:25:14 UTC 2020


On 6/1/20 5:53 AM, a11e99z wrote:
> On Sunday, 31 May 2020 at 16:57:06 UTC, Steven Schveighoffer wrote:
> 
>> I can't imagine much of druntime working at all without TLS. Indeed, 
>> it is a requirement these days.
>>
> 
> TLS is evil for async/await when any thread can execute any fiber (case 
> where fiber tied to thread is wrong/dead version of async/await cuz 1st 
> thread has 1000 fibers and 2nd only 10)

That would require fiber local storage, which I don't know if that is 
supported.

I think fibers jumping between threads is also not supported, but I 
don't know for certain.

-Steve


More information about the Digitalmars-d-learn mailing list