diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-06-21 21:18:43 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-06-21 21:18:43 +0000 |
commit | 4a64648a3f05d15cfffb693e24c76997d6a58423 (patch) | |
tree | d63d31d06a4549605f6a85d9719e1f84b2bd2e29 /ace/Process.i | |
parent | f9438cf147b2b788b151f522cefe526d1a8e67c4 (diff) | |
download | ATCD-4a64648a3f05d15cfffb693e24c76997d6a58423.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Process.i')
-rw-r--r-- | ace/Process.i | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ace/Process.i b/ace/Process.i index b52c2ef03d9..a2e94aa77af 100644 --- a/ace/Process.i +++ b/ace/Process.i @@ -23,14 +23,20 @@ ACE_Process::getpid (void) ACE_INLINE int ACE_Process::kill (int signum) { -#if defined (ACE_WIN32) +#if defined (ACE_WIN32) || defined (CHORUS) ACE_UNUSED_ARG (signum); - return (int) ::TerminateProcess (this->process_info_.hProcess, 0); + ACE_NOTSUP_RETURN (-1); #else return ACE_OS::kill (this->getpid (), signum); #endif /* ACE_WIN32 */ } +ACE_INLINE int +ACE_Process::terminate (void) +{ + return ACE::terminate_process (this->getpid ()); +} + // ************************************************************ #if defined (ACE_WIN32) |