Y
Hacker News
new
|
ask
|
show
|
jobs
by
ddorian43
29 days ago
> aren't reliable if an async/coroutines moves threads between calls
Then just don't move them between threads and you're good with thread locals, no?
1 comments
whizzter
28 days ago
Iirc often the frameworks don't have worker affinity, anyhow environments like .NET has "AsyncLocal" to provide an aware alternative.
link