summaryrefslogtreecommitdiff
path: root/ace/ACE.cpp
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-17 04:04:44 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-07-17 04:04:44 +0000
commit2e413354c797bb9f1e12d6e2297c347c92c27dc0 (patch)
tree8a9b4fd2e49f774b808513e3ddc1f96c532d6717 /ace/ACE.cpp
parent0466b3f531afbc5a44a985fa12edf7977b390ad8 (diff)
downloadATCD-pace_removal.tar.gz
ChangeLogTag:Wed Jul 17 03:50:56 UTC 2002 Don Hinton <dhinton@objectsciences.com>pace_removal
Diffstat (limited to 'ace/ACE.cpp')
-rw-r--r--ace/ACE.cpp19
1 files changed, 4 insertions, 15 deletions
diff --git a/ace/ACE.cpp b/ace/ACE.cpp
index e296346cec0..2ae61ece33d 100644
--- a/ace/ACE.cpp
+++ b/ace/ACE.cpp
@@ -173,9 +173,7 @@ ACE::select (int width,
int
ACE::terminate_process (pid_t pid)
{
-#if defined (ACE_HAS_PACE)
- return pace_kill (pid, 9);
-#elif defined (ACE_HAS_PHARLAP)
+#if defined (ACE_HAS_PHARLAP)
ACE_UNUSED_ARG (pid);
ACE_NOTSUP_RETURN (-1);
#elif defined (ACE_WIN32)
@@ -211,22 +209,13 @@ ACE::terminate_process (pid_t pid)
return -1;
#else
return ACE_OS::kill (pid, 9);
-#endif /* ACE_HAS_PACE */
+#endif /* ACE_HAS_PHARLAP */
}
int
ACE::process_active (pid_t pid)
{
-#if defined (ACE_HAS_PACE)
- int retval = pace_kill (pid, 0);
-
- if (retval == 0)
- return 1;
- else if (errno == ESRCH)
- return 0;
- else
- return -1;
-#elif !defined(ACE_WIN32)
+#if !defined(ACE_WIN32)
int retval = ACE_OS::kill (pid, 0);
if (retval == 0)
@@ -254,7 +243,7 @@ ACE::process_active (pid_t pid)
::CloseHandle (process_handle);
return result;
}
-#endif /* ACE_HAS_PACE */
+#endif /* !ACE_WIN32 */
}
const ACE_TCHAR *