diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-01 23:25:38 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-01 23:25:38 +0000 |
commit | 95fa3ab2bd0bf931686ab0d9095d67cd63c62315 (patch) | |
tree | 146c6f78a14a797772673aceacb58361f69e5b55 /TAO/tao/Wait_Strategy.cpp | |
parent | f35a04ee399e9d8383ad49d939e452a55013c1de (diff) | |
download | ATCD-ami_phase1.tar.gz |
ChangeLogTag:Tue Jun 1 18:13:07 1999 Carlos O'Ryan <coryan@cs.wustl.edu>ami_phase1
Diffstat (limited to 'TAO/tao/Wait_Strategy.cpp')
-rw-r--r-- | TAO/tao/Wait_Strategy.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/TAO/tao/Wait_Strategy.cpp b/TAO/tao/Wait_Strategy.cpp index 6a85ab08c78..0281e7ffff1 100644 --- a/TAO/tao/Wait_Strategy.cpp +++ b/TAO/tao/Wait_Strategy.cpp @@ -189,9 +189,10 @@ TAO_Wait_On_Leader_Follower::send_request (TAO_ORB_Core *orb_core, this->expecting_response_ = 0; this->calling_thread_ = ACE_OS::NULL_thread; - ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - failed request for <%x>\n", - this->transport_)); + //ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - failed request for <%x>\n", + //this->transport_)); } + return result; } int @@ -234,8 +235,8 @@ TAO_Wait_On_Leader_Follower::wait (void) { // = Wait as a follower. - ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - wait (follower) on <%x>\n", - this->transport_)); + //ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - wait (follower) on <%x>\n", + //this->transport_)); // wait until we have input available or there is no leader, in // which case we must become the leader anyway.... @@ -265,8 +266,8 @@ TAO_Wait_On_Leader_Follower::wait (void) "TAO (%P|%t) TAO_Wait_On_Leader_Follower::wait - " "remove_follower failed for <%x>\n", cond)); - ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - done (follower:%d) on <%x>\n", - this->reply_received_, this->transport_)); + //ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - done (follower:%d) on <%x>\n", + //this->reply_received_, this->transport_)); // Now somebody woke us up to become a leader or to handle // our input. We are already removed from the follower queue. @@ -318,14 +319,14 @@ TAO_Wait_On_Leader_Follower::wait (void) int result = 0; - ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - wait (leader) on <%x>\n", - this->transport_)); + //ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - wait (leader) on <%x>\n", + //this->transport_)); while (result >= 0 && this->reply_received_ == 0) result = orb_core->reactor ()->handle_events (); - ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - done (leader) on <%x>\n", - this->transport_)); + //ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - done (leader) on <%x>\n", + //this->transport_)); // Re-acquire the lock. if (ace_mon.acquire () == -1) |