diff options
author | jeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-12-06 22:19:02 +0000 |
---|---|---|
committer | jeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-12-06 22:19:02 +0000 |
commit | fb10c2d29954118cb16a59f471176f4287ac295c (patch) | |
tree | 91465727a9b45ec3f1fce8459985307cb5bb2255 /TAO/tao/PortableServer/POA_Policy_Set.cpp | |
parent | 9381ef8c10c97977a1d6b1884feb2624ed70576a (diff) | |
download | ATCD-fb10c2d29954118cb16a59f471176f4287ac295c.tar.gz |
Mon Dec 6 16:00:46 2004 Iliyan Jeliazkov <jeliazkov_i@ociweb.com>
This change solves a problem with the bi-dir policy validators, in the
context of multiple ORBs by eliminating cached, ORB-specific state in the
TAO_BiDirGIOP_Loader singleton. Thus it also eliminates the possibility for a
race condition between two threads that my be creating and destroying ORB
instances simultaneously.
Diffstat (limited to 'TAO/tao/PortableServer/POA_Policy_Set.cpp')
-rw-r--r-- | TAO/tao/PortableServer/POA_Policy_Set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/PortableServer/POA_Policy_Set.cpp b/TAO/tao/PortableServer/POA_Policy_Set.cpp index 9907212b534..0c37b9d5535 100644 --- a/TAO/tao/PortableServer/POA_Policy_Set.cpp +++ b/TAO/tao/PortableServer/POA_Policy_Set.cpp @@ -60,7 +60,7 @@ TAO_POA_Policy_Set::validate_policies (TAO_Policy_Validator &validator, { // Just give a last chance for all the unloaded validators in other // libraries to be registered - orb_core.load_policy_validators (validator); + orb_core.load_policy_validators (validator ACE_ENV_ARG_PARAMETER); // Validate that all of the specified policies make sense. validator.validate (this->impl_ ACE_ENV_ARG_PARAMETER); |