You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2015/12/04 04:31:16 UTC

mesos git commit: Revert "Added documentation about terminate/wait in Processes destructors."

Repository: mesos
Updated Branches:
  refs/heads/master 7105055db -> 6441c368b


Revert "Added documentation about terminate/wait in Processes destructors."

This reverts commit 47fe84b666968c5cb18bac15b52e5bee1f347884.


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

Branch: refs/heads/master
Commit: 6441c368becd6fe3540ca0e0e13fb5618ba8e61c
Parents: 7105055
Author: Benjamin Mahler <be...@gmail.com>
Authored: Thu Dec 3 19:30:42 2015 -0800
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Thu Dec 3 19:30:42 2015 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/README.md | 14 --------------
 1 file changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6441c368/3rdparty/libprocess/README.md
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/README.md b/3rdparty/libprocess/README.md
index 281bda6..c3f309a 100644
--- a/3rdparty/libprocess/README.md
+++ b/3rdparty/libprocess/README.md
@@ -134,20 +134,6 @@ int main(int argc, char** argv)
 ~~~
 ---->
 
-> NOTE: In most cases, a process should have a destructor that terminates
-> and waits on the process to finish.  The process does not automatically
-> terminate when the `Process` is deallocated.  i.e.:
-
-~~~{.cpp}
-class MyProcess : public Process<MyProcess> {
-  virtual ~MyProcess()
-  {
-    terminate(this);
-    wait(this);
-  }
-};
-~~~
-
 ---
 
 ## Futures and Promises