Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task continuation on a different thread #27

Open
nelsc opened this issue Jun 13, 2017 · 0 comments
Open

Task continuation on a different thread #27

nelsc opened this issue Jun 13, 2017 · 0 comments

Comments

@nelsc
Copy link
Contributor

nelsc commented Jun 13, 2017

We should carefully consider guaranteeing that the thread that executes the code following a task block will be the same one that entered the task block in the first place. This would effectively guarantee that an arbitrary function call will not return on a different thread, even if the function involves parallel execution, and would drastically limit the surprises that come with parent-stealing.

(On this topic, I recorded this sentence fragment, without fully understanding it: "Processors stealing threads instead of threads stealing work")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant