summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-18 16:39:52 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-18 16:39:52 +0000
commit901866ddf8b59369fe7618119cb8af1543d5384f (patch)
tree649111d95aeeaf58d34e1af255ab8d8e7341ec21 /TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
parent9a6a3202e245f33e58fdef044d69b2cf52eeb91c (diff)
downloadATCD-901866ddf8b59369fe7618119cb8af1543d5384f.tar.gz
Added read/write locking option.
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp')
-rw-r--r--TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp b/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
index 88f6f3ef87c..e0396c70f90 100644
--- a/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
@@ -28,14 +28,32 @@ TAO_FactoryDef_i::def_kind (CORBA::Environment &)
}
void
-TAO_FactoryDef_i::destroy (CORBA::Environment & /* ACE_TRY_ENV */)
+TAO_FactoryDef_i::destroy (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ TAO_IFR_WRITE_GUARD;
+
+ this->destroy_i (ACE_TRY_ENV);
+}
+
+void
+TAO_FactoryDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// TODO
}
IR::Contained::Description *
-TAO_FactoryDef_i::describe (CORBA::Environment & /* ACE_TRY_ENV */ )
+TAO_FactoryDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ TAO_IFR_READ_GUARD_RETURN (0);
+
+ return this->describe_i (ACE_TRY_ENV);
+}
+
+IR::Contained::Description *
+TAO_FactoryDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
// TODO