summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-20 03:43:18 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-20 03:43:18 +0000
commite75895ff0b25deff62956f61060a41a0fd8d8e1d (patch)
tree3f23b73418b5404dcb616255b405b71e48cbd278
parentac470ac230ce666b692ee5748859e27957ae63ae (diff)
downloadATCD-e75895ff0b25deff62956f61060a41a0fd8d8e1d.tar.gz
Added a new method create_servant_lock ().
-rw-r--r--TAO/tao/server_factory.cpp8
-rw-r--r--TAO/tao/server_factory.h7
2 files changed, 12 insertions, 3 deletions
diff --git a/TAO/tao/server_factory.cpp b/TAO/tao/server_factory.cpp
index cbc9617c63c..fd0110066e7 100644
--- a/TAO/tao/server_factory.cpp
+++ b/TAO/tao/server_factory.cpp
@@ -2,7 +2,7 @@
//
// = LIBRARY
// TAO
-//
+//
// = FILENAME
// server_factory.cpp
//
@@ -71,6 +71,12 @@ TAO_Server_Strategy_Factory::create_poa_mgr_lock (void)
return 0;
}
+ACE_Lock *
+TAO_Server_Strategy_Factory::create_servant_lock (void)
+{
+ return 0;
+}
+
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
template class ACE_Creation_Strategy<TAO_Server_Connection_Handler>;
template class ACE_Acceptor<TAO_Server_Connection_Handler, ACE_SOCK_ACCEPTOR>;
diff --git a/TAO/tao/server_factory.h b/TAO/tao/server_factory.h
index 655507991be..4e62d14d728 100644
--- a/TAO/tao/server_factory.h
+++ b/TAO/tao/server_factory.h
@@ -4,7 +4,7 @@
//
// = LIBRARY
// TAO
-//
+//
// = FILENAME
// server_factory.h
//
@@ -38,7 +38,7 @@ public:
// <init> so that the other portions of the ORB have a chance to
// "settle" in their initialization since the streategies herein
// might need some of that information.
-
+
// = Server-side factory types.
typedef ACE_Creation_Strategy<TAO_Server_Connection_Handler>
CREATION_STRATEGY;
@@ -71,6 +71,9 @@ public:
virtual ACE_Lock *create_poa_mgr_lock (void);
// Return a new lock for use in locking the POA Manager.
+
+ virtual ACE_Lock *create_servant_lock (void);
+ // Return a new lock for use in locking the servant.
};
#endif /* TAO_SERVER_FACTORY_H */