diff options
author | fredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-26 23:37:32 +0000 |
---|---|---|
committer | fredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-02-26 23:37:32 +0000 |
commit | 05079dfe47f146a7a4b19ace9dca5a769532a899 (patch) | |
tree | ed89b8e93cd8d38882265703b07037721514ec9c /TAO/tao/Stub.i | |
parent | 7e74e920e8dcf156874829a0cb222f54669c621b (diff) | |
download | ATCD-05079dfe47f146a7a4b19ace9dca5a769532a899.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/Stub.i')
-rw-r--r-- | TAO/tao/Stub.i | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/TAO/tao/Stub.i b/TAO/tao/Stub.i index bc3392e14b4..5b4110f31f4 100644 --- a/TAO/tao/Stub.i +++ b/TAO/tao/Stub.i @@ -259,3 +259,29 @@ STUB_Object::add_forward_profiles (TAO_MProfile *mprofiles) forward_profiles_->rewind (); } + +ACE_INLINE +CORBA::Boolean +STUB_Object::next_profile_retry (void) +{ + ACE_MT (ACE_GUARD_RETURN (ACE_Lock, + guard, + *this->profile_lock_ptr_, + 0)); + + if (profile_success_ && forward_profiles_) + { + reset_profiles_i (); + return 1; + } + else if (next_profile_i ()) + { + return 1; + } + else + { + reset_profiles_i (); + return 0; + } +} + |