You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Michael Park <mp...@apache.org> on 2017/12/04 19:36:12 UTC
Re: Review Request 63634: Changed dispatch to use callable once
functors.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63634/#review192745
-----------------------------------------------------------
Ship it!
Ship It!
- Michael Park
On Nov. 7, 2017, 8:51 a.m., Dmitry Zhuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63634/
> -----------------------------------------------------------
>
> (Updated Nov. 7, 2017, 8:51 a.m.)
>
>
> Review request for mesos, Benjamin Mahler and Michael Park.
>
>
> Bugs: MESOS-6972
> https://issues.apache.org/jira/browse/MESOS-6972
>
>
> Repository: mesos
>
>
> Description
> -------
>
> `dispatch` guarantees that functor will be called at most once, and
> therefore it allows optimizations, such as moves of deferred objects.
>
>
> Diffs
> -----
>
> 3rdparty/libprocess/include/process/dispatch.hpp 155f362a888caef5ce2db803a109400ca4c7ec37
> 3rdparty/libprocess/include/process/event.hpp 571ffb1ea5c4787f10c2f4dee249aadc8b904bc6
> 3rdparty/libprocess/src/process.cpp 64bcce215d19558dd493e30e96ca16577fe0722a
> 3rdparty/libprocess/src/tests/process_tests.cpp d1b30b0754c55fd765885ddcfe9f9f68ba509ac1
>
>
> Diff: https://reviews.apache.org/r/63634/diff/3/
>
>
> Testing
> -------
>
> make check
>
>
> Thanks,
>
> Dmitry Zhuk
>
>