diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-08 03:00:32 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-08 03:00:32 +0000 |
commit | 445d7ca03c9b721522c763e490a0f20548841a2c (patch) | |
tree | 0bd66f50b748ada8b5eba88f529c4e616720f3e8 | |
parent | 5ef510bd9d345ef1d88a9565dde21adb5a71d502 (diff) | |
download | ATCD-445d7ca03c9b721522c763e490a0f20548841a2c.tar.gz |
Removed the loop around the wait_for_reply.
-rw-r--r-- | TAO/tao/Invocation.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp index 3e8ee4ca6cf..783942593f3 100644 --- a/TAO/tao/Invocation.cpp +++ b/TAO/tao/Invocation.cpp @@ -614,17 +614,17 @@ TAO_GIOP_Twoway_Invocation::invoke_i (CORBA::Environment &ACE_TRY_ENV) int reply_error = this->transport_->wait_for_reply (); // Do the wait loop till we receive the reply for this invocation. - while (reply_error != -1 && - this->transport_->reply_received (this->request_id_) != 1) - { - // @@ Hack to init the Leader-Follower state, so that we can - // wait again. (Alex). - // this->transport_->wait_strategy ()->sending_request (this->orb_core_, - // 1); - - // Wait for reply. - reply_error = this->transport_->wait_for_reply (); - } + // while (reply_error != -1 && + // this->transport_->reply_received (this->request_id_) != 1) + // { + // // @@ Hack to init the Leader-Follower state, so that we can + // // wait again. (Alex). + // // this->transport_->wait_strategy ()->sending_request (this->orb_core_, + // // 1); + // + // // Wait for reply. + // reply_error = this->transport_->wait_for_reply (); + // } // Check the reply error. if (reply_error == -1) @@ -819,12 +819,12 @@ TAO_GIOP_Locate_Request_Invocation::invoke (CORBA::Environment &ACE_TRY_ENV) int reply_error = this->transport_->wait_for_reply (); - // Do the wait loop, till we receive the reply for this invocation. - while (reply_error != -1 && - this->transport_->reply_received (this->request_id_) != 1) - { - reply_error = this->transport_->wait_for_reply (); - } + // // Do the wait loop, till we receive the reply for this invocation. + // while (reply_error != -1 && + // this->transport_->reply_received (this->request_id_) != 1) + // { + // reply_error = this->transport_->wait_for_reply (); + // } // Check the reply error. if (reply_error == -1) |