1
// Kokyu_defs.cpp,v 1.7 2003/10/12 02:56:16 venkita Exp
3
#include "Kokyu_defs.h"
5
#if ! defined (__ACE_INLINE__)
6
#include "Kokyu_defs.i"
7
#endif /* __ACE_INLINE__ */
9
ACE_RCSID(Kokyu, Kokyu_defs, "Kokyu_defs.cpp,v 1.7 2003/10/12 02:56:16 venkita Exp")
13
Dispatch_Command::~Dispatch_Command (void)
17
DSRT_ConfigInfo::DSRT_ConfigInfo ()
18
:sched_policy_ (ACE_SCHED_RR),
19
sched_scope_ (ACE_SCOPE_THREAD)
23
Dispatcher_Attributes::Dispatcher_Attributes()
24
:immediate_activation_ (0),
25
sched_policy_ (ACE_SCHED_FIFO),
26
sched_scope_ (ACE_SCOPE_THREAD),
27
base_thread_creation_flags_ (THR_NEW_LWP | THR_BOUND | THR_JOINABLE)
31
int Dispatcher_Attributes::thread_creation_flags () const
33
int thread_creation_flags = base_thread_creation_flags_;
35
switch (sched_policy_)
38
thread_creation_flags |= THR_SCHED_FIFO;
42
thread_creation_flags |= THR_SCHED_DEFAULT;
46
thread_creation_flags |= THR_SCHED_RR;
52
case ACE_SCOPE_PROCESS:
54
thread_creation_flags |= THR_SCOPE_PROCESS;
57
case ACE_SCOPE_THREAD:
59
thread_creation_flags |= THR_SCOPE_SYSTEM;
62
return thread_creation_flags;
67
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
68
template class ACE_Array<Kokyu::ConfigInfo>;
69
template class ACE_Array_Base<Kokyu::ConfigInfo>;
70
template class ACE_Array_Iterator<Kokyu::ConfigInfo>;
71
#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
72
#pragma instantiate ACE_Array<Kokyu::ConfigInfo>
73
#pragma instantiate ACE_Array_Base<Kokyu::ConfigInfo>
74
#pragma instantiate ACE_Array_Iterator<Kokyu::ConfigInfo>
75
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */