Skip to content

Fixed dataflow if invoked action returns a future#2014

Merged
hkaiser merged 1 commit into
masterfrom
fixing_2008
Mar 7, 2016
Merged

Fixed dataflow if invoked action returns a future#2014
hkaiser merged 1 commit into
masterfrom
fixing_2008

Conversation

@hkaiser
Copy link
Copy Markdown
Contributor

@hkaiser hkaiser commented Mar 6, 2016

This fixes #2008

@hkaiser
Copy link
Copy Markdown
Contributor Author

hkaiser commented Mar 7, 2016

@ltroska This should fix your issue, please verify.

@ltroska
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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