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

Make LocalFuture Available to User Code #226

Open
ZwFink opened this issue Jan 18, 2022 · 0 comments
Open

Make LocalFuture Available to User Code #226

ZwFink opened this issue Jan 18, 2022 · 0 comments
Assignees

Comments

@ZwFink
Copy link
Contributor

ZwFink commented Jan 18, 2022

LocalFutures are lightweight future objects used internally within the runtime system for signaling within a PE. I'm working on an application that uses futures that are guaranteed to send results within the same PE. Because LocalFutures avoid communication, they should be made available to user code, with documentation making it clear that:

  1. They cannot be used across PEs.
  2. Values sent through a local future are passed by reference.
@ZwFink ZwFink self-assigned this Jan 18, 2022
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