Abstract kill_process_tree().
authorIain Patterson <me@iain.cx>
Mon, 25 Jul 2016 13:52:19 +0000 (14:52 +0100)
committerIain Patterson <me@iain.cx>
Thu, 28 Jul 2016 15:44:33 +0000 (16:44 +0100)
commitd06a30c2b946cd96af37bd2cc7b27ca08ecd0795
tree6ad5a68e465d1d8401be61d38d464e48cb7543d7
parent7bc41a82f696699aface2103f277e7ebf1808b2f
Abstract kill_process_tree().

The function is now walk_process_tree() and instead of killing a process
it invokes the supplied callback function.  When killing a process we
pass a pointer to kill_process().

This will allow performing operations things other than killing
processes on the tree.
process.cpp
process.h