----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5395/#review8734 -----------------------------------------------------------
src/linux/cgroups.cpp <https://reviews.apache.org/r/5395/#comment18427> Done. src/linux/cgroups.cpp <https://reviews.apache.org/r/5395/#comment18428> Done. src/linux/cgroups.cpp <https://reviews.apache.org/r/5395/#comment18429> Done. src/linux/cgroups.cpp <https://reviews.apache.org/r/5395/#comment18424> Done. src/linux/cgroups.cpp <https://reviews.apache.org/r/5395/#comment18423> Done. src/linux/cgroups.cpp <https://reviews.apache.org/r/5395/#comment18422> Done. src/linux/cgroups.cpp <https://reviews.apache.org/r/5395/#comment18421> Done. - Jie Yu On June 28, 2012, 7:40 p.m., Jie Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/5395/ > ----------------------------------------------------------- > > (Updated June 28, 2012, 7:40 p.m.) > > > Review request for mesos, Benjamin Hindman and Vinod Kone. > > > Description > ------- > > In cgroups, sometimes you want to be notified if some certain events happen. > For example, users may want to be notified when an out-of-memory event > happens. > > This patch introduce a function called "listenEvent" which returns an > instance of Future so that you can check the status of this future to see > whether any event happens. > > This interface is general to all the events in cgroups. > > > Diffs > ----- > > src/linux/cgroups.hpp PRE-CREATION > src/linux/cgroups.cpp PRE-CREATION > src/tests/cgroups_tests.cpp PRE-CREATION > > Diff: https://reviews.apache.org/r/5395/diff/ > > > Testing > ------- > > On Linux machines, make check. > > > Thanks, > > Jie Yu > >
