-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63638/
-----------------------------------------------------------
Review request for mesos, Benjamin Mahler and Michael Park.
Bugs: MESOS-6972
https://issues.apache.org/jira/browse/MESOS-6972
Repository: mesos
Description
-------
`Future` guarantees that callbacks are called at most once, so it can
use `lambda::CallableOnce` to expicitly declare this, and allow
corresponding optimizations with moves.
Diffs
-----
3rdparty/libprocess/include/process/future.hpp
4cf44ba1a7052d5f84beb8fd6914b8e9e0437c0a
3rdparty/libprocess/src/tests/future_tests.cpp
76a32bd69499e52ea1623ab982d65e1c7a0cbd32
Diff: https://reviews.apache.org/r/63638/diff/1/
Testing
-------
make check
Thanks,
Dmitry Zhuk