diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-10-03 23:29:54 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-10-03 23:29:54 +0000 |
commit | 9eb8a09ec3abdb04064d674ab04ab91f2a30a196 (patch) | |
tree | e32aa154660c1807fcaabaf3a0f0682e101ec746 | |
parent | a5df5f56ea465949b414a568693e9f80c1b7cc62 (diff) | |
download | ATCD-9eb8a09ec3abdb04064d674ab04ab91f2a30a196.tar.gz |
Small fix
-rw-r--r-- | TAO/performance-tests/RTCorba/Thread_Pool/client.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/performance-tests/RTCorba/Thread_Pool/client.cpp b/TAO/performance-tests/RTCorba/Thread_Pool/client.cpp index c28381f7d8d..b921fea7e80 100644 --- a/TAO/performance-tests/RTCorba/Thread_Pool/client.cpp +++ b/TAO/performance-tests/RTCorba/Thread_Pool/client.cpp @@ -534,6 +534,9 @@ Paced_Worker::svc (void) this->setup (ACE_TRY_ENV); ACE_TRY_CHECK; + if (result != 0) + return result; + for (CORBA::ULong i = 0; i != this->history_.max_samples (); ++i) @@ -745,6 +748,9 @@ Continuous_Worker::svc (void) this->setup (ACE_TRY_ENV); ACE_TRY_CHECK; + if (result != 0) + return result; + for (CORBA::ULong i = 0; i != history.max_samples () && !done; ++i) |