----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45083/#review125529 -----------------------------------------------------------
@jieyu My concern about this ticket is the unclear behaviour of `any` when some of futures success while some of futures failed. If we don't have this helper function, we still could do simliar thing in `CgroupsIsolatorProcess`. If you think we'd better not to add this, feel free to discard this patch. - haosdent huang On March 26, 2016, 1:46 p.m., haosdent huang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/45083/ > ----------------------------------------------------------- > > (Updated March 26, 2016, 1:46 p.m.) > > > Review request for mesos and Jie Yu. > > > Bugs: MESOS-5038 > https://issues.apache.org/jira/browse/MESOS-5038 > > > Repository: mesos > > > Description > ------- > > Added a any mechanism for futures. > > > Diffs > ----- > > 3rdparty/libprocess/include/process/collect.hpp > 5a92b72eb7668494dc832ec446a41b3d673a20cc > 3rdparty/libprocess/src/tests/collect_tests.cpp > 155e0bb75cf723a0a6c29020f9f767e3ba3d7401 > > Diff: https://reviews.apache.org/r/45083/diff/ > > > Testing > ------- > > > Thanks, > > haosdent huang > >