summaryrefslogtreecommitdiff
path: root/ace/Process_Manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Process_Manager.cpp')
-rw-r--r--ace/Process_Manager.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ace/Process_Manager.cpp b/ace/Process_Manager.cpp
index b6dd137b69a..f05ce1e8e1b 100644
--- a/ace/Process_Manager.cpp
+++ b/ace/Process_Manager.cpp
@@ -373,11 +373,9 @@ ACE_Process_Manager::handle_signal (int,
ACE_MT (ACE_GUARD_RETURN (ACE_Recursive_Thread_Mutex, ace_mon, lock_, -1));
ssize_t i = this->find_proc (proc);
-#if 0
pid_t pid = i != -1
? process_table_[i].process_->getpid ()
: ACE_INVALID_PID;
-#endif
this->notify_proc_handler (i, status);
this->remove_proc (i);
}
@@ -814,8 +812,7 @@ ACE_Process_Manager::wait (pid_t pid,
// Green Hills produces a warning that result >= WAIT_OBJECT_0 is
// a pointless comparison because WAIT_OBJECT_0 is zero and DWORD is
// unsigned long, so this test is skipped for Green Hills.
- // Same for mingw.
-# if defined (ghs) || defined (__MINGW32__)
+# if defined (ghs)
ACE_ASSERT (result < WAIT_OBJECT_0 + current_count_);
# else
ACE_ASSERT (result >= WAIT_OBJECT_0