summaryrefslogtreecommitdiff
path: root/ace/Process.i
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-14 00:28:26 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-14 00:28:26 +0000
commit68218fe75b70325e068ed6c3dfe468fb7d4fa1b4 (patch)
treed554b43122b83bcc0cdd2ab860d6d818e47343de /ace/Process.i
parentcf84eb21872015387aeb0b373e4700697cc376ba (diff)
downloadATCD-68218fe75b70325e068ed6c3dfe468fb7d4fa1b4.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Process.i')
-rw-r--r--ace/Process.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/ace/Process.i b/ace/Process.i
index 7e6372ceaaa..b45e624c7e7 100644
--- a/ace/Process.i
+++ b/ace/Process.i
@@ -23,7 +23,12 @@ ACE_Process::getpid (void)
ACE_INLINE int
ACE_Process::kill (int signum)
{
+#if defined (ACE_WIN32)
+ ACE_UNUSED_ARG (signum);
+ return (int) ::TerminateProcess (this->process_info_.hProcess, 0);
+#else
return ACE_OS::kill (this->getpid (), signum);
+#endif /* ACE_WIN32 */
}
// ************************************************************
@@ -41,7 +46,12 @@ ACE_Process_Old::getpid (void)
ACE_INLINE int
ACE_Process_Old::kill (int signum)
{
+#if defined (ACE_WIN32)
+ ACE_UNUSED_ARG (signum);
+ return (int) ::TerminateProcess (this->process_info_.hProcess, 0);
+#else
return ACE_OS::kill (this->getpid (), signum);
+#endif /* ACE_WIN32 */
}
// ************************************************************