3 //=============================================================================
5 * @file ThreadStrategySingle.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
11 #ifndef TAO_THREADSTRATEGYSINGLE_H
12 #define TAO_THREADSTRATEGYSINGLE_H
13 #include /**/ "ace/pre.h"
15 #include "tao/PortableServer/portableserver_export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/PortableServer/ThreadStrategy.h"
23 #include "tao/orbconf.h"
25 #include "ace/Service_Config.h"
28 #include "ace/Synch_Traits.h"
29 #include "ace/Thread_Mutex.h"
30 #include "ace/Recursive_Thread_Mutex.h"
31 #include "ace/Null_Mutex.h"
33 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
35 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
39 namespace Portable_Server
41 class ThreadStrategySingle
: public ThreadStrategy
44 int enter () override
;
48 TAO_SYNCH_RECURSIVE_MUTEX lock_
;
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #endif /* TAO_HAS_MINIMUM_POA == 0 */
57 #include /**/ "ace/post.h"
58 #endif /* TAO_THREADSTRATEGYSINGLE_H */