diff options
author | gonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-08 08:00:12 +0000 |
---|---|---|
committer | gonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-06-08 08:00:12 +0000 |
commit | 96812ab4d21b9bbf554a057072d4a78293357e14 (patch) | |
tree | e71232d934123b28a8ad06d33681fe7ddecf680f /ace/WFMO_Reactor.cpp | |
parent | 508416440ec69e510b6bfe23a15e762d9e6be3b4 (diff) | |
download | ATCD-96812ab4d21b9bbf554a057072d4a78293357e14.tar.gz |
Added initial support for Borland C++ Builder
Diffstat (limited to 'ace/WFMO_Reactor.cpp')
-rw-r--r-- | ace/WFMO_Reactor.cpp | 7 |
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++) |