mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Zhuk <dz...@twopensource.com>
Subject Review Request 63638: Added callable once support in Future.
Date Tue, 07 Nov 2017 16:52:20 GMT

-----------------------------------------------------------
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message