Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / ThreadStrategy.h
blob5ee79a7a3543be1fdd789ed6d0eddd9989a3eab5
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file ThreadStrategy.h
7 * @author Johnny Willemsen <jwillemsen@remedy.nl>
8 */
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)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
24 namespace TAO
26 namespace Portable_Server
28 class ThreadStrategy
30 public:
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 */