summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ThreadStrategyORBControl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ThreadStrategyORBControl.cpp')
-rw-r--r--TAO/tao/PortableServer/ThreadStrategyORBControl.cpp50
1 files changed, 50 insertions, 0 deletions
diff --git a/TAO/tao/PortableServer/ThreadStrategyORBControl.cpp b/TAO/tao/PortableServer/ThreadStrategyORBControl.cpp
new file mode 100644
index 00000000000..44edaa4b6a9
--- /dev/null
+++ b/TAO/tao/PortableServer/ThreadStrategyORBControl.cpp
@@ -0,0 +1,50 @@
+// $Id$
+
+#include "tao/PortableServer/ThreadStrategyORBControl.h"
+#include "ace/Log_Msg.h"
+
+ACE_RCSID (PortableServer,
+ ThreadStrategyORBControl,
+ "$Id$")
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+namespace TAO
+{
+ namespace Portable_Server
+ {
+ int
+ ThreadStrategyORBControl::enter ()
+ {
+ return 0;
+ }
+
+ int
+ ThreadStrategyORBControl::exit ()
+ {
+ return 0;
+ }
+
+ ::PortableServer::ThreadPolicyValue
+ ThreadStrategyORBControl::type() const
+ {
+ return ::PortableServer::ORB_CTRL_MODEL;
+ }
+ }
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+
+ACE_FACTORY_NAMESPACE_DEFINE (
+ ACE_Local_Service,
+ ThreadStrategyORBControl,
+ TAO::Portable_Server::ThreadStrategyORBControl)
+
+ACE_STATIC_SVC_DEFINE (
+ ThreadStrategyORBControl,
+ ACE_TEXT ("ThreadStrategyORBControl"),
+ ACE_SVC_OBJ_T,
+ &ACE_SVC_NAME (ThreadStrategyORBControl),
+ ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
+ 0)