Re:Project Loom and Structured Concurrency
by didibus on Saturday December 05, 2020 @06:42PM
(#25319512)
> you shall not block and you shall not go too long until yielding
Arn't those effectively the same?
I think the only contract is "you shall not go too long until yielding". Or if you're designing for performance, not for responsiveness, it might be: "you shall not hold unto CPU and IO resources that you're not using".
Arn't those effectively the same?
I think the only contract is "you shall not go too long until yielding". Or if you're designing for performance, not for responsiveness, it might be: "you shall not hold unto CPU and IO resources that you're not using".