When the implementation of Wait() is to keep busy working on other tasks, it is assisting on the work queue while waiting. But waiting and just sleep-looping is equally bad. IMO, avoiding waits at all cost is worth the effort. This is what makes continuations worthwhile.
In theory true. In practice not. Again, tweets will fail here, but when I get a chance to make another diagram I will.
-
-
In practice this has been working well for myself and others, though I'm sure it can be improved.
-
Here is the example. Basically waiting on one core can starve other cores. Avoiding waits will keep your cores all saturated with work. You can see a real-world example of this here: http://twvideo01.ubm-us.net/o1/vault/gdc2015/presentations/Gyrling_Christian_Parallelizing_The_Naughty.pdf … (1/3rd down)pic.twitter.com/HUytO6gB4L
- 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.