Job scheduler devs, what do you think is the easiest way to implement job continuations? Store a pointer to a next-job in the job itself and push it to the current thread once the job finishes?
-
-
WRT immediate invoked. Useful when you are using continuations outside of your thread queue, like on a dedicated graphics thread, or an IO service thread. If this is never your concern, then it’s not worth worrying about.
-
Pointer to next task also easily expands to a pre-build DAG, where you have an array of pointers and each job has a dependency counter. Instead of always firing off the continuation, jobs decrement their continuations and invoke when 0.
Keskustelun loppu
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.