diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-29 00:34:02 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-01-29 00:34:02 +0000 |
commit | f32dc7eabcc7a2eb1dac24472d8923b1c31d5527 (patch) | |
tree | 26f5ccf73f772fbfd6e76e94a66eafdcefd1acf5 | |
parent | 15a4d91aa5d314982f486e36dbe0b3b60339ec23 (diff) | |
download | ATCD-f32dc7eabcc7a2eb1dac24472d8923b1c31d5527.tar.gz |
Removed check for work_pending() from get_response().
-rw-r--r-- | TAO/tao/Request.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/Request.cpp b/TAO/tao/Request.cpp index 610d65b9484..e486eebbed1 100644 --- a/TAO/tao/Request.cpp +++ b/TAO/tao/Request.cpp @@ -83,7 +83,8 @@ CORBA_Request::CORBA_Request (CORBA::Object_ptr obj, contexts_ (0), ctx_ (0), refcount_ (1), - lazy_evaluation_ (0) + lazy_evaluation_ (0), + response_received_ (0) { target_ = CORBA::Object::_duplicate (obj); opname_ = CORBA::string_dup (op); @@ -160,7 +161,7 @@ CORBA_Request::send_deferred (CORBA::Environment &ACE_TRY_ENV) void CORBA_Request::get_response (CORBA::Environment &ACE_TRY_ENV) { - while (!this->response_received_ && this->orb_->work_pending ()) + while (!this->response_received_) { (void) this->orb_->perform_work (); } |