From b46b74cb7147e971c59b4c242c493e396b4f0c9c Mon Sep 17 00:00:00 2001
From: "SND\\kernelnet_cp"
 <SND\kernelnet_cp@9b283d60-5439-405e-af05-b73fd8c4d996>
Date: Tue, 5 Nov 2013 06:23:35 +0000
Subject: [PATCH] [0.3.x] added : detachAllProcesses ( detach from all process
 and resume all their threads ) [0.3.x] added : killAllProcesses ( detach from
 all process then terminate them )

git-svn-id: https://pykd.svn.codeplex.com/svn@86270 9b283d60-5439-405e-af05-b73fd8c4d996
---
 pykd/pymod.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pykd/pymod.cpp b/pykd/pymod.cpp
index d59b08d..60fc79a 100644
--- a/pykd/pymod.cpp
+++ b/pykd/pymod.cpp
@@ -95,8 +95,12 @@ BOOST_PYTHON_MODULE( pykd )
         "Attach debugger to a exsisting process" );
     python::def( "detachProcess", &kdlib::detachProcess, detachProcess_( boost::python::args( "pid" ),
         "Stop process debugging") ); 
+    python::def( "detachAllProcesses", &kdlib::detachAllProcesses, 
+        "Detach from all process and resume all their threads" );
     python::def( "killProcess", &kdlib::terminateProcess, terminateProcess_( boost::python::args( "pid" ),
         "Stop debugging and terminate current process" ) );
+    python::def( "killAllProcesses", &kdlib::terminateAllProcesses,
+        "Detach from all process then terminate them");
     python::def( "loadDump", &loadDump,
         "Load crash dump");
     python::def( "isLocalKernelDebuggerEnabled", &kdlib::isLocalKernelDebuggerEnabled,