summaryrefslogtreecommitdiff
path: root/ace/Select_Reactor.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-14 18:16:50 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-14 18:16:50 +0000
commit5eaa422fd7067e3920bc0580ed8c07733aad264f (patch)
tree274a7b3e10e2edf24bfcffd2f3c79b4d9860455f /ace/Select_Reactor.cpp
parent71285d33e79652a20debdc0bb5e52f0954118d5c (diff)
downloadATCD-5eaa422fd7067e3920bc0580ed8c07733aad264f.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Select_Reactor.cpp')
-rw-r--r--ace/Select_Reactor.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ace/Select_Reactor.cpp b/ace/Select_Reactor.cpp
index 01b9c2df138..b4758a1ba86 100644
--- a/ace/Select_Reactor.cpp
+++ b/ace/Select_Reactor.cpp
@@ -1296,26 +1296,26 @@ ACE_Select_Reactor::handler_i (ACE_HANDLE handle,
// Must be called with locks held
int
-ACE_Reactor::resume_i (ACE_HANDLE handle)
+ACE_Select_Reactor::resume_i (ACE_HANDLE handle)
{
- ACE_TRACE ("ACE_Reactor::resume");
+ ACE_TRACE ("ACE_Select_Reactor::resume");
if (this->handler_rep_.find (handle) == 0)
return -1;
if (this->suspend_set_.rd_mask_.is_set (handle))
{
this->wait_set_.rd_mask_.set_bit (handle);
- this->suspend_set_.rd_mask_.clr_bit(handle);
+ this->suspend_set_.rd_mask_.clr_bit (handle);
}
if (this->suspend_set_.wr_mask_.is_set (handle))
{
this->wait_set_.wr_mask_.set_bit (handle);
- this->suspend_set_.wr_mask_.clr_bit(handle);
+ this->suspend_set_.wr_mask_.clr_bit (handle);
}
if (this->suspend_set_.ex_mask_.is_set (handle))
{
this->wait_set_.ex_mask_.set_bit (handle);
- this->suspend_set_.ex_mask_.clr_bit(handle);
+ this->suspend_set_.ex_mask_.clr_bit (handle);
}
return 0;
}
@@ -1323,26 +1323,26 @@ ACE_Reactor::resume_i (ACE_HANDLE handle)
// Must be called with locks held
int
-ACE_Reactor::suspend_i (ACE_HANDLE handle)
+ACE_Select_Reactor::suspend_i (ACE_HANDLE handle)
{
- ACE_TRACE ("ACE_Reactor::suspend");
+ ACE_TRACE ("ACE_Select_Reactor::suspend");
if (this->handler_rep_.find (handle) == 0)
return -1;
if (this->wait_set_.rd_mask_.is_set (handle))
{
this->suspend_set_.rd_mask_.set_bit (handle);
- this->wait_set_.wr_mask_.clr_bit(handle);
+ this->wait_set_.wr_mask_.clr_bit (handle);
}
if (this->wait_set_.wr_mask_.is_set (handle))
{
this->suspend_set_.wr_mask_.set_bit (handle);
- this->wait_set_.wr_mask_.clr_bit(handle);
+ this->wait_set_.wr_mask_.clr_bit (handle);
}
if (this->wait_set_.ex_mask_.is_set (handle))
{
this->suspend_set_.ex_mask_.set_bit (handle);
- this->ex_mask_.clr_bit(handle);
+ this->wait_set_.ex_mask_.clr_bit (handle);
}
return 0;
}