mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Hamon" <dha...@twopensource.com>
Subject Re: Review Request 18311: Adds await on a tuple of futures.
Date Thu, 20 Feb 2014 16:37:17 GMT

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



3rdparty/libprocess/include/process/collect.hpp
<https://reviews.apache.org/r/18311/#comment65381>

    possibly naive question: instead of having a full copy of this header with the type changed,
would it be possible to just typedef 'process::tuple' or add a 'stout::tuple' that is either
a boost::tuples::tuple or std::tuple?


- Dominic Hamon


On Feb. 20, 2014, 7:59 a.m., TILL TOENSHOFF wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18311/
> -----------------------------------------------------------
> 
> (Updated Feb. 20, 2014, 7:59 a.m.)
> 
> 
> Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Niklas Nielsen, and Vinod
Kone.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> Currently the Process::await implementation on list<Future>, by the nature of std::list,
expects equally typed futures. This new override implements await for a tuple of futures,
hence allows awaiting differently typed futures in a single call.
> 
> A C++11 and a boost-based implementation have been added.
> 
> This patch also includes tests on that new feature.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/include/process/c++11/collect.hpp PRE-CREATION 
>   3rdparty/libprocess/include/process/collect.hpp 2a73bc9 
>   3rdparty/libprocess/src/tests/process_tests.cpp e899aed 
> 
> Diff: https://reviews.apache.org/r/18311/diff/
> 
> 
> Testing
> -------
> 
> make check (clang c++11, gcc)
> 
> 
> Thanks,
> 
> TILL TOENSHOFF
> 
>


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