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

Fixed dataflow if invoked action returns a future #2014

Merged
merged 1 commit into from Mar 7, 2016
Merged

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Mar 6, 2016

This fixes #2008

@hkaiser
Copy link
Member Author

hkaiser commented Mar 7, 2016

@ltroska This should fix your issue, please verify.

@ltroska
Copy link
Contributor

ltroska commented Mar 7, 2016

@hkaiser The issue is fixed with these changes.

hkaiser added a commit that referenced this pull request Mar 7, 2016
Fixed dataflow if invoked action returns a future
@hkaiser hkaiser merged commit 7f5d594 into master Mar 7, 2016
@hkaiser hkaiser deleted the fixing_2008 branch March 7, 2016 11:59

int hpx_main(int argc, char* argv[])
{
hpx::future<hpx::future<double> > f =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be future instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is correct. The actual inconsistency is that async<Action>() unwraps any returned future...

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

Successfully merging this pull request may close these issues.

Compilation error in dataflow of action returning a future
3 participants