incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jie Yu" <>
Subject Re: Review Request: Add APIs for event notification in cgroups.
Date Mon, 18 Jun 2012 22:41:40 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated June 18, 2012, 10:41 p.m.)

Review request for mesos, Benjamin Hindman and Vinod Kone.


The newest version.


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 PRE-CREATION 
  src/linux/cgroups.cpp PRE-CREATION 
  src/tests/cgroups_tests.cpp PRE-CREATION 



On Linux machines, make check.


Jie Yu

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