[ https://issues.apache.org/jira/browse/MESOS-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16279347#comment-16279347 ]
Michael Park commented on MESOS-8301: ------------------------------------- {noformat} commit bbd8381ebce3522841e80ae53f56b3049342f15b Author: Dmitry Zhuk <dz...@twopensource.com> Date: Tue Dec 5 13:47:53 2017 -0800 Replaced `std::shared_ptr` with `std::unique_ptr` in `Future`. Review: https://reviews.apache.org/r/63913/ {noformat} {noformat} commit bca8c6a05d03a2162c04703a9c1ac8172fdfae8a Author: Dmitry Zhuk <dz...@twopensource.com> Date: Tue Dec 5 13:45:56 2017 -0800 Replaced `std::shared_ptr` with `std::unique_ptr` in `dispatch`. Since `dispatch` can now handle move-only parameters, `Promise` and function object can be wrapped into `std::unique_ptr` for efficiency. {noformat} > Support moving into defer/dispatch/install handlers. > ---------------------------------------------------- > > Key: MESOS-8301 > URL: https://issues.apache.org/jira/browse/MESOS-8301 > Project: Mesos > Issue Type: Improvement > Components: libprocess > Reporter: Benjamin Mahler > Assignee: Dmitry Zhuk > > Currently, dispatch and defer will take copies of the provided arguments. > Also, a protobuf message handler cannot move the supplied message. We should > support moves for these for efficiency. -- This message was sent by Atlassian JIRA (v6.4.14#64029)