You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Dmitry Zhuk <dz...@twopensource.com> on 2017/11/07 16:51:50 UTC

Review Request 63635: Prepared defer for use in callable once contexts.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63635/
-----------------------------------------------------------

Review request for mesos, Benjamin Mahler and Michael Park.


Bugs: MESOS-6972
    https://issues.apache.org/jira/browse/MESOS-6972


Repository: mesos


Description
-------

This changes `defer` to use `lambda::partial` instead of `std::bind`,
which allows it be used in callbale once contexts.


Diffs
-----

  3rdparty/libprocess/include/process/defer.hpp 9457080a638d7bf444504b82629a7bc6b2de4116 
  3rdparty/libprocess/include/process/deferred.hpp af65eadee6f29a5bcd29b5c8ccf7444f39f8899a 


Diff: https://reviews.apache.org/r/63635/diff/1/


Testing
-------

make check


Thanks,

Dmitry Zhuk


Re: Review Request 63635: Prepared defer for use in callable once contexts.

Posted by Michael Park <mp...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63635/#review192907
-----------------------------------------------------------


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/63635/
> -----------------------------------------------------------
> 
> (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
> -------
> 
> This changes `defer` to use `lambda::partial` instead of `std::bind`,
> which allows it be used in callbale once contexts.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/include/process/defer.hpp 1c114a8d8e3a90fed9be0519ac093e402ebcd977 
>   3rdparty/libprocess/include/process/deferred.hpp 950f1cccaf93298664a95ba1fd2c5d2a42deb725 
> 
> 
> Diff: https://reviews.apache.org/r/63635/diff/2/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Dmitry Zhuk
> 
>