
Tokio Ecosystem with Alice Ryhl
Rustacean Station
00:00
Is the Task Hogging a Thread?
Tokyo starts a task to run again is that it calls this function called paul. And then the way it works is, when the task yields, because it gets to ane weight, the poll function will return. The problem is when a single call to pall takes a long time,. You say, the second is a long time. Ye, i mentioned so we talked a bit about how long is too long. And that's ten micro seconds to 100 micro seconds max. So it's not very long. There are somei for example, in some other languages, such as dotnet, it's usually they do something similar. It's more reasonable, if you like,
Transcript
Play full episode