3 //=============================================================================
5 * @file ThreadStrategy.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
9 //=============================================================================
11 #ifndef TAO_THREAD_STRATEGY_H
12 #define TAO_THREAD_STRATEGY_H
13 #include /**/ "ace/pre.h"
15 #include "tao/orbconf.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 namespace Portable_Server
31 ThreadStrategy () = default;
32 virtual ~ThreadStrategy () = default;
34 virtual int enter () = 0;
36 virtual int exit () = 0;
41 TAO_END_VERSIONED_NAMESPACE_DECL
43 #include /**/ "ace/post.h"
44 #endif /* TAO_THREAD_STRATEGY_H */