If we want a paradigm of parallelism we have to stop thinking that your program’s entry point is main. A parallel applications’s entry point is the first task. That task spawns more tasks. When there are no active tasks, the program is ready to exit.
-
-
Näytä tämä ketju
-
Main() should initialize your tasks queue and launch Task0. You real application starts there. Wait of any kind should be forbidden. If you truly can’t continue execution until some condition is met, you reschedule the current task.
Näytä tämä ketju -
Your application “loop” is done by the tail task scheduling the head task again. This sort of looping is rarely addressed. Yeah we get parallel loops. Those aren’t the challenging part. Those are “embarrassingly” easy.
Näytä tämä ketju -
We need to talk about the entire application being a parallel/concurrent application, starting from your entry point.
Näytä tämä ketju
Keskustelun loppu
Uusi keskustelu -
-
-
This is your talk next year..... Or mine!
-
Nice. Or maybe just do both talks... in parallel.
- 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.