summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ThreadPolicy.pidl
blob: 253a7b8dcbb25e9efd8448e8ef6232bd9e407c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * @file ThreadPolicy.pidl
 *
 * $Id$
 *
 * @brief Pre-compiled IDL source for the PortableServer module.
 *
 * tao_idl.exe \
 *     -o orig -Gp -Gd -Ge 1 -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_