blob: 44edaa4b6a92ceff2fc484c3bf13baebcae5db46 (
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
45
46
47
48
49
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)
|