Added TODO for os::killtree.

Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0a2957ed
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0a2957ed
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/0a2957ed

Branch: refs/heads/master
Commit: 0a2957ed0faa29a1db448d9726c4935cd8ab7474
Parents: 26b5042
Author: Benjamin Hindman <[email protected]>
Authored: Fri Aug 15 15:45:13 2014 -0700
Committer: Benjamin Hindman <[email protected]>
Committed: Fri Aug 15 18:22:02 2014 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/include/stout/os/killtree.hpp | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0a2957ed/3rdparty/libprocess/3rdparty/stout/include/stout/os/killtree.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/os/killtree.hpp 
b/3rdparty/libprocess/3rdparty/stout/include/stout/os/killtree.hpp
index 1f45897..fa1950c 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/killtree.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/killtree.hpp
@@ -48,6 +48,10 @@ inline Option<Process> process(pid_t, const 
std::list<Process>&);
 // process tree.
 // Returns the process trees that were succesfully or unsuccessfully
 // signaled. Note that the process trees can be stringified.
+// TODO(benh): Allow excluding the root pid from stopping, killing,
+// and continuing so as to provide a means for expressing "kill all of
+// my children". This is non-trivial because of the current
+// implementation.
 inline Try<std::list<ProcessTree> > killtree(
     pid_t pid,
     int signal,

Reply via email to