diff options
author | Brad King <brad.king@kitware.com> | 2017-11-02 13:48:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-11-02 13:48:53 (GMT) |
commit | 3048777006e1d10646e7b62f46406859dc4d0812 (patch) | |
tree | 7cc12406056b4b41717594fcfacdbd5a1700a6d3 /Source/kwsys/Process.h.in | |
parent | 817331aae8c9f166baa7ada5e015dcb5442c0038 (diff) | |
parent | 5464e23ff5e822b8a99a3cd234c54ff4632ccb98 (diff) | |
download | CMake-3048777006e1d10646e7b62f46406859dc4d0812.zip CMake-3048777006e1d10646e7b62f46406859dc4d0812.tar.gz CMake-3048777006e1d10646e7b62f46406859dc4d0812.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2017-11-02 (54f0901a)
Diffstat (limited to 'Source/kwsys/Process.h.in')
-rw-r--r-- | Source/kwsys/Process.h.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/Process.h.in b/Source/kwsys/Process.h.in index 237001c..6cb9443 100644 --- a/Source/kwsys/Process.h.in +++ b/Source/kwsys/Process.h.in @@ -77,6 +77,7 @@ #define kwsysProcess_WaitForExit kwsys_ns(Process_WaitForExit) #define kwsysProcess_Interrupt kwsys_ns(Process_Interrupt) #define kwsysProcess_Kill kwsys_ns(Process_Kill) +#define kwsysProcess_KillPID kwsys_ns(Process_KillPID) #define kwsysProcess_ResetStartTime kwsys_ns(Process_ResetStartTime) #endif @@ -457,6 +458,13 @@ kwsysEXPORT void kwsysProcess_Interrupt(kwsysProcess* cp); kwsysEXPORT void kwsysProcess_Kill(kwsysProcess* cp); /** + * Same as kwsysProcess_Kill using process ID to locate process to + * terminate. + * @see kwsysProcess_Kill(kwsysProcess* cp) + */ +kwsysEXPORT void kwsysProcess_KillPID(unsigned long); + +/** * Reset the start time of the child process to the current time. */ kwsysEXPORT void kwsysProcess_ResetStartTime(kwsysProcess* cp); |