summaryrefslogtreecommitdiff
path: root/TAO/tao/Policy_Validator.cpp
diff options
context:
space:
mode:
authorjeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-12-06 22:19:02 +0000
committerjeliazkov_i <jeliazkov_i@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-12-06 22:19:02 +0000
commitfb10c2d29954118cb16a59f471176f4287ac295c (patch)
tree91465727a9b45ec3f1fce8459985307cb5bb2255 /TAO/tao/Policy_Validator.cpp
parent9381ef8c10c97977a1d6b1884feb2624ed70576a (diff)
downloadATCD-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/Policy_Validator.cpp')
-rw-r--r--TAO/tao/Policy_Validator.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/tao/Policy_Validator.cpp b/TAO/tao/Policy_Validator.cpp
index 4e78e8223db..cd51a8a1426 100644
--- a/TAO/tao/Policy_Validator.cpp
+++ b/TAO/tao/Policy_Validator.cpp
@@ -25,6 +25,12 @@ TAO_Policy_Validator::~TAO_Policy_Validator (void)
}
}
+TAO_ORB_Core &
+TAO_Policy_Validator::orb_core() const
+{
+ return this->orb_core_;
+}
+
void
TAO_Policy_Validator::add_validator (TAO_Policy_Validator *validator)
{