summaryrefslogtreecommitdiff
path: root/ace/WFMO_Reactor.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-05 09:52:56 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-05 09:52:56 +0000
commit199e8e8c21216f4b6da6c468df041f9db62fc4f8 (patch)
tree80ad8b136bf72d82f20771a08d5a39f4ffbab77d /ace/WFMO_Reactor.cpp
parent2f0512c7b00fb933e1d1634f1d435fae19970b4d (diff)
downloadATCD-199e8e8c21216f4b6da6c468df041f9db62fc4f8.tar.gz
Pure unicode fixes.
Diffstat (limited to 'ace/WFMO_Reactor.cpp')
-rw-r--r--ace/WFMO_Reactor.cpp32
1 files changed, 17 insertions, 15 deletions
diff --git a/ace/WFMO_Reactor.cpp b/ace/WFMO_Reactor.cpp
index 8b541928394..a78e3d6f048 100644
--- a/ace/WFMO_Reactor.cpp
+++ b/ace/WFMO_Reactor.cpp
@@ -81,10 +81,10 @@ ACE_WFMO_Reactor_Handler_Repository::bit_ops (long &existing_masks,
ACE_Reactor_Mask old_masks = ACE_Event_Handler::NULL_MASK;
- if (ACE_BIT_ENABLED (existing_masks, FD_READ)
+ if (ACE_BIT_ENABLED (existing_masks, FD_READ)
|| ACE_BIT_ENABLED (existing_masks, FD_CLOSE))
ACE_SET_BITS (old_masks, ACE_Event_Handler::READ_MASK);
-
+
if (ACE_BIT_ENABLED (existing_masks, FD_WRITE))
ACE_SET_BITS (old_masks, ACE_Event_Handler::WRITE_MASK);
@@ -204,8 +204,8 @@ ACE_WFMO_Reactor_Handler_Repository::unbind_i (ACE_HANDLE handle,
for (i = 0; i < this->max_handlep1_ && error == 0; i++)
// Since the handle can either be the event or the I/O handle,
// we have to check both
- if ((this->current_handles_[i] == handle
- || this->current_info_[i].io_handle_ == handle)
+ if ((this->current_handles_[i] == handle
+ || this->current_info_[i].io_handle_ == handle)
&& // Make sure that it is not already marked for deleted
!this->current_info_[i].delete_entry_)
{
@@ -219,8 +219,8 @@ ACE_WFMO_Reactor_Handler_Repository::unbind_i (ACE_HANDLE handle,
for (i = 0; i < this->suspended_handles_ && error == 0; i++)
// Since the handle can either be the event or the I/O handle, we
// have to check both
- if ((this->current_suspended_info_[i].io_handle_ == handle
- || this->current_suspended_info_[i].event_handle_ == handle)
+ if ((this->current_suspended_info_[i].io_handle_ == handle
+ || this->current_suspended_info_[i].event_handle_ == handle)
&&
// Make sure that it is not already marked for deleted
!this->current_suspended_info_[i].delete_entry_)
@@ -235,8 +235,8 @@ ACE_WFMO_Reactor_Handler_Repository::unbind_i (ACE_HANDLE handle,
for (i = 0; i < this->handles_to_be_added_ && error == 0; i++)
// Since the handle can either be the event or the I/O handle,
// we have to check both
- if ((this->to_be_added_info_[i].io_handle_ == handle
- || this->to_be_added_info_[i].event_handle_ == handle)
+ if ((this->to_be_added_info_[i].io_handle_ == handle
+ || this->to_be_added_info_[i].event_handle_ == handle)
&&
// Make sure that it is not already marked for deleted
!this->to_be_added_info_[i].delete_entry_)
@@ -1727,20 +1727,20 @@ ACE_WFMO_Reactor::upcall (ACE_Event_Handler *event_handler,
{
long actual_events = events.lNetworkEvents;
- if ((interested_events & actual_events & FD_READ)
+ if ((interested_events & actual_events & FD_READ)
&& event_handler->handle_input (io_handle) == -1)
ACE_SET_BITS (problems, ACE_Event_Handler::READ_MASK);
- if ((interested_events & actual_events & FD_CLOSE)
- && !ACE_BIT_ENABLED (problems, ACE_Event_Handler::READ_MASK)
+ if ((interested_events & actual_events & FD_CLOSE)
+ && !ACE_BIT_ENABLED (problems, ACE_Event_Handler::READ_MASK)
&& event_handler->handle_input (io_handle) == -1)
ACE_SET_BITS (problems, ACE_Event_Handler::READ_MASK);
- if ((interested_events & actual_events & FD_ACCEPT)
+ if ((interested_events & actual_events & FD_ACCEPT)
&& event_handler->handle_input (io_handle) == -1)
ACE_SET_BITS (problems, ACE_Event_Handler::ACCEPT_MASK);
- if ((interested_events & actual_events & FD_WRITE)
+ if ((interested_events & actual_events & FD_WRITE)
&& event_handler->handle_output (io_handle) == -1)
ACE_SET_BITS (problems, ACE_Event_Handler::WRITE_MASK);
@@ -1758,7 +1758,7 @@ ACE_WFMO_Reactor::upcall (ACE_Event_Handler *event_handler,
ACE_SET_BITS (problems, ACE_Event_Handler::CONNECT_MASK);
}
- if ((interested_events & actual_events & FD_OOB)
+ if ((interested_events & actual_events & FD_OOB)
&& event_handler->handle_exception (io_handle) == -1)
ACE_SET_BITS (problems, ACE_Event_Handler::EXCEPT_MASK);
@@ -2049,7 +2049,9 @@ ACE_WFMO_Reactor_Notify::dump (void) const
ACE_TRACE ("ACE_WFMO_Reactor_Notify::dump");
ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
this->timer_queue_->dump ();
- ACE_DEBUG ((LM_DEBUG, "Max. iteration: %d\n", this->max_notify_iterations_));
+ ACE_DEBUG ((LM_DEBUG,
+ ASYS_TEXT ("Max. iteration: %d\n"),
+ this->max_notify_iterations_));
ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
}