summaryrefslogtreecommitdiff
path: root/ace/Process.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-21 21:18:43 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-06-21 21:18:43 +0000
commit4a64648a3f05d15cfffb693e24c76997d6a58423 (patch)
treed63d31d06a4549605f6a85d9719e1f84b2bd2e29 /ace/Process.i
parentf9438cf147b2b788b151f522cefe526d1a8e67c4 (diff)
downloadATCD-4a64648a3f05d15cfffb693e24c76997d6a58423.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Process.i')
-rw-r--r--ace/Process.i10
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)