diff options
author | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-18 20:22:06 +0000 |
---|---|---|
committer | mk1 <mk1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-18 20:22:06 +0000 |
commit | 5ae9563a3c0aef20ea5e032814bb72fc1aa74b02 (patch) | |
tree | 117e92a653ca050b0445bfe5e954938a268d5641 | |
parent | 20d6c78121f638ae43ce1ff84afdc6bf88658ba6 (diff) | |
download | ATCD-5ae9563a3c0aef20ea5e032814bb72fc1aa74b02.tar.gz |
Mofified some comments.
-rw-r--r-- | TAO/tao/Connect.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/tao/Connect.cpp b/TAO/tao/Connect.cpp index 333dff3cf4f..968ad87e262 100644 --- a/TAO/tao/Connect.cpp +++ b/TAO/tao/Connect.cpp @@ -877,7 +877,6 @@ TAO_Client_Connection_Handler::handle_input (ACE_HANDLE) if (this->calling_thread_ == ACE_Thread::self ()) { // we are now a leader getting its response - // or a follower faking the handle_input this->input_available_ = 1; @@ -909,6 +908,10 @@ TAO_Client_Connection_Handler::handle_input (ACE_HANDLE) // We should wake suspend the thread before we wake him up. // resume_handler is called in TAO_GIOP_Invocation::invoke + // @@ TODO (Michael): We might be able to optimize this in + // doing the suspend_handler as last thing, but I am not sure + // if a race condition would occur. + if (orb_Core_ptr->leader_follower_lock ().acquire () == -1) ACE_ERROR_RETURN ((LM_ERROR, "(%P|%t) TAO_Client_Connection_Handler::handle_input: " |