----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/5395/ -----------------------------------------------------------
(Updated July 24, 2012, 9:03 p.m.) Review request for mesos, Benjamin Hindman and Vinod Kone. Changes ------- Addressed Ben's review comments. 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 (updated) ----- src/linux/cgroups.hpp cec9e36 src/linux/cgroups.cpp 93c140f src/tests/cgroups_tests.cpp 7f0f901 Diff: https://reviews.apache.org/r/5395/diff/ Testing ------- On Linux machines, make check. Thanks, Jie Yu
