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

should we support Cilk's function-call spawn in addition to statement spawn? #16

Open
nelsc opened this issue Dec 8, 2015 · 1 comment
Labels

Comments

@nelsc
Copy link
Contributor

nelsc commented Dec 8, 2015

Presumably we could support this when "_Task_parallel _Spawn" is not immediately followed by a left brace -- a little subtle, but perhaps not too subtle.

@nelsc
Copy link
Contributor Author

nelsc commented Dec 9, 2015

The nice things about spawning the execution of a called function is that there are built-in rules for "capturing" (a.k.a. passing parameters), and without access to the local variables of the calling function, opportunities for writing racy code are less.

@nelsc nelsc added the defer label Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant