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

Making sure any function object passed to dataflow is released after being invoked #2963

Merged
merged 1 commit into from Oct 17, 2017

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Oct 17, 2017

  • this fixes test problems with the executor_parameters_timer_hooks test

…being invoked

- this fixes test problems with the executor_parameters_timer_hooks test
@@ -133,8 +133,10 @@ namespace hpx { namespace lcos { namespace detail
void execute(std::false_type, Futures&& futures)
{
try {
Func func = std::move(func_);
Copy link
Member

Choose a reason for hiding this comment

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

Is this temporary really necessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

We do the same in the future shared state. Just wanted to mirror what's there.

Copy link
Member

@sithhell sithhell left a comment

Choose a reason for hiding this comment

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

Nice catch, LGTM!

@sithhell sithhell merged commit 4c52b9f into master Oct 17, 2017
@sithhell sithhell deleted the fixing_dataflow branch October 17, 2017 18:13
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.

None yet

2 participants