diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-03-11 21:46:14 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-03-16 10:55:12 +0100 |
commit | de86f824835b1556cc0070dd5720cdae484a0296 (patch) | |
tree | 8c37fd5de913b92f55a6bb597bd89788bac7ea08 /src/nvim/os/process.h | |
parent | 8d90171f8be6b92d7186ca84c42a0e07c2c71908 (diff) | |
download | rneovim-de86f824835b1556cc0070dd5720cdae484a0296.tar.gz rneovim-de86f824835b1556cc0070dd5720cdae484a0296.tar.bz2 rneovim-de86f824835b1556cc0070dd5720cdae484a0296.zip |
win: os_proc_tree_kill()
XXX: comment at https://stackoverflow.com/q/1173342 :
> Windows recycles PIDs quite fast, you have to be extra careful not
> to kill unrelated processes. These APIs will report PPIDs for long
> dead processes whose PIDs may have been recycled. Check the parent
> start date to make sure it is related to the processes you spawned.
Diffstat (limited to 'src/nvim/os/process.h')
-rw-r--r-- | src/nvim/os/process.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/os/process.h b/src/nvim/os/process.h new file mode 100644 index 0000000000..9549ae9081 --- /dev/null +++ b/src/nvim/os/process.h @@ -0,0 +1,8 @@ +#ifndef NVIM_OS_PROCESS_H +#define NVIM_OS_PROCESS_H + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "os/process.h.generated.h" +#endif + +#endif // NVIM_OS_PROCESS_H |