diff options
author | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-27 22:53:31 +0000 |
---|---|---|
committer | alex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-27 22:53:31 +0000 |
commit | 48220355f163b4e7eaca4ba8cf9613d6241ebd4c (patch) | |
tree | 533bcdd7ae2bbe2b9f21bdd7dce1af08176bd539 | |
parent | 2c72e8f36fb8703b8a4a467d1773cd91178f95f6 (diff) | |
download | ATCD-48220355f163b4e7eaca4ba8cf9613d6241ebd4c.tar.gz |
Fixed the problem with making Nested Upcalls. Got the
/test/NestedUpcall/Reactor test to work with <Wait_On_Reactor>
strategy.
-rw-r--r-- | TAO/tao/Wait_Strategy.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Wait_Strategy.cpp b/TAO/tao/Wait_Strategy.cpp index 5f926765a3d..409eefce7b1 100644 --- a/TAO/tao/Wait_Strategy.cpp +++ b/TAO/tao/Wait_Strategy.cpp @@ -28,21 +28,21 @@ TAO_Wait_On_Reactor::~TAO_Wait_On_Reactor (void) { } +// Return value just like the return value of +// <Reactor::handle_events>. int TAO_Wait_On_Reactor::wait (void) { int result = 0; + // Do the event loop, till there are no events and no errors. while (result == 0) { // Do the event loop. result = this->transport_->orb_core ()->reactor ()->handle_events (/* timeout */); } - if (result == -1) - return -1; - else - return 0; + return result; } int |