----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/10744/#review19649 -----------------------------------------------------------
Ship it! src/slave/reaper.hpp <https://reviews.apache.org/r/10744/#comment40589> Never have using directives in header files. When you think you must use them, go get some coffee and figure out a way not to instead. ;) src/slave/reaper.cpp <https://reviews.apache.org/r/10744/#comment40588> To elaborate, it definitely needs to be a Future in Reaper, but it can be a Try in ReaperProcess if you can perform the function synchronously. However, we don't want to return Future<Try<Nothing>> here, so until we have an overloaded Future<T> constructor which takes a Try<T>, you did the right thing to return Future. src/slave/reaper.cpp <https://reviews.apache.org/r/10744/#comment40590> The formatting doesn't look correct here, see the old code. - Benjamin Hindman On April 24, 2013, 12:30 a.m., Jiang Yan Xu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/10744/ > ----------------------------------------------------------- > > (Updated April 24, 2013, 12:30 a.m.) > > > Review request for mesos, Benjamin Hindman, Vinod Kone, and Ben Mahler. > > > Description > ------- > > See summary. > > > Diffs > ----- > > src/slave/cgroups_isolator.cpp 8b79da50d8fb0c2c8716dd7d2c734b65c32f60b4 > src/slave/process_isolator.cpp 6e2af87d291d7c3448393c1ffa816f7020e2dff6 > src/slave/reaper.hpp 09844d8d47b143ee369e0c82b19d65a774df4a90 > src/slave/reaper.cpp bd3dcef07c370ad338b478755bf8f7ce6408e4a3 > src/tests/reaper_tests.cpp 0809c1ff17eb949beb1bdd922fdced022aa202f3 > > Diff: https://reviews.apache.org/r/10744/diff/ > > > Testing > ------- > > make check > > > Thanks, > > Jiang Yan Xu > >
