Branch: refs/heads/master
Home: https://github.com/STEllAR-GROUP/hpx
Commit: 2d1bcf7cb3e924042127e69c29bc4ddaf4426fe9
https://github.com/STEllAR-GROUP/hpx/commit/2d1bcf7cb3e924042127e69c29bc4ddaf4426fe9
Author: Mikael Simberg <[email protected]>
Date: 2020-08-12 (Wed, 12 Aug 2020)
Changed paths:
M libs/futures/include/hpx/futures/futures_factory.hpp
Log Message:
-----------
Fix exception handling for tasks
Setting the exception on a future may yield (a lock is required), and thus lead
to the task being resumed on another worker thread after setting the exception.
Before this change the exception for a future was set directly in the catch
block which could lead to the catch block being entered on one worker thread
and exited on another thread. This seems to not be allowed and leads to
segfaults at least with gcc and clang. This change only gets the current
exception in the catch block, but sets it after the catch block to avoid
potentially yielding in the catch block.
Commit: 26a22fe6fd2afcbc6868c7335319db8551aa927b
https://github.com/STEllAR-GROUP/hpx/commit/26a22fe6fd2afcbc6868c7335319db8551aa927b
Author: Mikael Simberg <[email protected]>
Date: 2020-08-13 (Thu, 13 Aug 2020)
Changed paths:
M hpx/lcos/detail/promise_base.hpp
M libs/async_combinators/include/hpx/async_combinators/split_future.hpp
M libs/async_cuda/include/hpx/async_cuda/cublas_executor.hpp
M libs/async_cuda/include/hpx/async_cuda/cuda_executor.hpp
M libs/executors/include/hpx/executors/dataflow.hpp
M libs/executors/include/hpx/executors/service_executors.hpp
M libs/futures/include/hpx/futures/detail/future_data.hpp
M libs/futures/include/hpx/futures/packaged_continuation.hpp
M libs/futures/tests/regressions/future_unwrap_878.cpp
M libs/lcos_local/include/hpx/lcos_local/packaged_task.hpp
Log Message:
-----------
Update more catch blocks not to yield from setting exceptions
Commit: 6d7599983367a88f85a61bfcfacb8b13d8c08a95
https://github.com/STEllAR-GROUP/hpx/commit/6d7599983367a88f85a61bfcfacb8b13d8c08a95
Author: Mikael Simberg <[email protected]>
Date: 2020-08-14 (Fri, 14 Aug 2020)
Changed paths:
M hpx/lcos/detail/promise_base.hpp
M libs/async_combinators/include/hpx/async_combinators/split_future.hpp
M libs/async_cuda/include/hpx/async_cuda/cublas_executor.hpp
M libs/async_cuda/include/hpx/async_cuda/cuda_executor.hpp
M libs/executors/include/hpx/executors/dataflow.hpp
M libs/executors/include/hpx/executors/service_executors.hpp
M libs/futures/include/hpx/futures/detail/future_data.hpp
M libs/futures/include/hpx/futures/futures_factory.hpp
M libs/futures/include/hpx/futures/packaged_continuation.hpp
M libs/futures/tests/regressions/future_unwrap_878.cpp
M libs/lcos_local/include/hpx/lcos_local/packaged_task.hpp
Log Message:
-----------
Merge pull request #4894 from msimberg/fix-future-exception-handling
Fix exception handling for tasks
Compare:
https://github.com/STEllAR-GROUP/hpx/compare/adc6d464554a...6d7599983367
_______________________________________________
hpx-commits mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-commits