Branch: refs/heads/master
Home: https://github.com/STEllAR-GROUP/hpx
Commit: 1c51095fa3672573b906aadcd1acfcdcf913ba24
https://github.com/STEllAR-GROUP/hpx/commit/1c51095fa3672573b906aadcd1acfcdcf913ba24
Author: Mikael Simberg <[email protected]>
Date: 2021-05-17 (Mon, 17 May 2021)
Changed paths:
M libs/parallelism/execution/CMakeLists.txt
A
libs/parallelism/execution/include/hpx/execution/algorithms/keep_future.hpp
M libs/parallelism/executors/tests/unit/p0443_executor.cpp
Log Message:
-----------
Add execution::keep_future to pass the future instead of its value to
continuations when futures are used as senders
keep_future passes the future instead of the value to help manage future
lifetimes. Especially shared_future | on | ... is not possible without
this helper if the wrapped value in the future is noncopyable (since
shared_future::get returns a const& and on cannot store a const&, nor
does it need to keep the operation state alive long enough).
Commit: 7f96e82f3a5190a08d6cad62a675db8dc422ba2f
https://github.com/STEllAR-GROUP/hpx/commit/7f96e82f3a5190a08d6cad62a675db8dc422ba2f
Author: Mikael Simberg <[email protected]>
Date: 2021-05-18 (Tue, 18 May 2021)
Changed paths:
M libs/parallelism/execution/CMakeLists.txt
A
libs/parallelism/execution/include/hpx/execution/algorithms/keep_future.hpp
M libs/parallelism/executors/tests/unit/p0443_executor.cpp
Log Message:
-----------
Merge pull request #5323 from msimberg/keep_future
Add keep_future algorithm
Compare:
https://github.com/STEllAR-GROUP/hpx/compare/2e8333cd2e4c...7f96e82f3a51
_______________________________________________
hpx-commits mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-commits