summaryrefslogtreecommitdiff
path: root/ace/WFMO_Reactor.cpp
diff options
context:
space:
mode:
authorgonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-08 08:00:12 +0000
committergonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-08 08:00:12 +0000
commit907c9dbc4c4dd6ed06de9bc75537550ee192521c (patch)
treee71232d934123b28a8ad06d33681fe7ddecf680f /ace/WFMO_Reactor.cpp
parente49857037f7f63debb04f3d0ac314bb233dcab75 (diff)
downloadATCD-907c9dbc4c4dd6ed06de9bc75537550ee192521c.tar.gz
Added initial support for Borland C++ Builder
Diffstat (limited to 'ace/WFMO_Reactor.cpp')
-rw-r--r--ace/WFMO_Reactor.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/ace/WFMO_Reactor.cpp b/ace/WFMO_Reactor.cpp
index 68305843a84..83ea5080a5b 100644
--- a/ace/WFMO_Reactor.cpp
+++ b/ace/WFMO_Reactor.cpp
@@ -93,14 +93,13 @@ ACE_WFMO_Reactor_Handler_Repository::unbind_i (ACE_HANDLE handle,
// Remember this value; only if it changes do we need to wakeup
// the other threads
size_t original_handle_count = this->handles_to_be_deleted_;
+ int result = 0;
+ size_t i;
// Go through all the handles looking for <handle>. Even if we find
// it, we continue through the rest of the list since <handle> could
// appear multiple times. All handles are checked.
- int result = 0;
- size_t i;
-
// First check the current entries
for (i = 0; i < this->max_handlep1_ && error == 0; i++)
// Since the handle can either be the event or the I/O handle,
@@ -302,7 +301,6 @@ ACE_WFMO_Reactor_Handler_Repository::suspend_handler_i (ACE_HANDLE handle,
// Remember this value; only if it changes do we need to wakeup
// the other threads
size_t original_handle_count = this->handles_to_be_suspended_;
- int result = 0;
size_t i = 0;
// Go through all the handles looking for <handle>. Even if we find
@@ -356,7 +354,6 @@ ACE_WFMO_Reactor_Handler_Repository::resume_handler_i (ACE_HANDLE handle,
// Go through all the handles looking for <handle>. Even if we find
// it, we continue through the rest of the list since <handle> could
// appear multiple times. All handles are checked.
- int result = 0;
size_t i = 0;
for (i = 0; i < this->suspended_handles_; i++)