Got asked an interesting question by @matt77hias about why enkiTS doesn't use std::future in the API and I think my answer might be worth sharing:https://github.com/dougbinks/enkiTS/issues/27 …
-
-
The solution here is to replace Waits with continuations. It's not always an easy change to make, but it's worth it. Especially timing (gpu/network/disc async calls?) start mixing things up even more.
-
The other solution is to reschedule the task, depending on how early the wait is in the task. Ideally you just don't schedule the task until it would not be blocked (execution graphs basically do this), but that's not always possible (ie, waiting on the GPU).
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.