theia-ide / sprotty

A next-gen web-based graphics framework
Apache License 2.0
138 stars 23 forks source link

updated exaple1.multicore #81

Closed marcdumais-work closed 7 years ago

marcdumais-work commented 7 years ago

I am thinking that the "finished" state could be interpreted as "task finished executing, waiting for other tasks to reach my barrier". From a debug POV, it's code and data are still on the physical core, so it makes sense to show it in the multicore view. However other tasks that have finished before, over a previous barrier, their core has been freed and may have been re-allocated to something else.

I have cleaned-up the example to reflect this; i.e. removed "finished" tasks from previous barriers.