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
A strange thing in parallel::util::detail::handle_local_exceptions. #2818
Comments
@taeguk please construct a test which exposes the problem you believe we have. |
@hkaiser This is not bug which can be tested. This is the problem about intention of that function. And I want to just question about it. hpx/hpx/parallel/util/detail/handle_local_exceptions.hpp Lines 56 to 68 in 76f7c3b
Like above, other overloaded functions of that function are related to exception_list .So, I guess that 'Line 38' is an mistake and changing to throw exception_list(std::current_exception()); may be reasonable.I can't determine whether my guessing is correct because that code is not written by me. |
@taeguk you're right, this is a nice catch. I agree this has to be changed as you suggest. But a test would be nice anyways, mostly to ensure that those functions throw an |
@hkaiser I want to change 'Line 38' to what I said. |
@hkaiser Do you agree that I change that? |
@taeguk, yes, please go ahead. |
Fix a strange thing in parallel::util::detail::handle_local_exceptions. (Fix #2818)
hpx/hpx/parallel/util/detail/handle_local_exceptions.hpp
Lines 29 to 40 in 76f7c3b
Does 'Line 38' make sense?
That function seems to just rethrow
exception_ptr
.As I think, 'Line 38' should be changed to
The text was updated successfully, but these errors were encountered: