summaryrefslogtreecommitdiff
path: root/trunk/TAO/tao/PortableServer/ThreadPolicy.pidl
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tao/PortableServer/ThreadPolicy.pidl')
-rw-r--r--trunk/TAO/tao/PortableServer/ThreadPolicy.pidl44
1 files changed, 44 insertions, 0 deletions
diff --git a/trunk/TAO/tao/PortableServer/ThreadPolicy.pidl b/trunk/TAO/tao/PortableServer/ThreadPolicy.pidl
new file mode 100644
index 00000000000..cd25ed3cc30
--- /dev/null
+++ b/trunk/TAO/tao/PortableServer/ThreadPolicy.pidl
@@ -0,0 +1,44 @@
+/**
+ * @file ThreadPolicy.pidl
+ *
+ * $Id$
+ *
+ * @brief Pre-compiled IDL source for the PortableServer module.
+ *
+ * tao_idl.exe \
+ * -o orig -Gp -Gd -Sci -GA -I$(TAO_ROOT)
+ * -Wb,export_macro=TAO_PortableServer_Export \
+ * -Wb,export_include="portableserver_export.h" \
+ * -Wb,pre_include="ace/pre.h" \
+ * -Wb,post_include="ace/post.h" \
+ * ThreadPolicy.pidl
+ */
+
+#ifndef _PORTABLESERVER_THREAD_POLICY_IDL_
+#define _PORTABLESERVER_THREAD_POLICY_IDL_
+
+#include "tao/Policy.pidl"
+
+#pragma prefix "omg.org"
+
+module PortableServer
+{
+# pragma version PortableServer 2.3
+
+ enum ThreadPolicyValue
+ {
+ ORB_CTRL_MODEL,
+ SINGLE_THREAD_MODEL
+/* ,MAIN_THREAD_MODEL*/
+ };
+
+#if !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) && !defined (TAO_HAS_MINIMUM_POA)
+ local interface ThreadPolicy : CORBA::Policy
+ {
+ readonly attribute ThreadPolicyValue value;
+ };
+#endif
+
+};
+
+#endif // _PORTABLESERVER_THREAD_POLICY_IDL_