Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / PortableServer / ThreadStrategySingle.cpp
blob08f0dba3b63331806283aaaa9e9bc8c363a2df1b
1 #include "tao/orbconf.h"
3 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
5 #include "tao/PortableServer/ThreadStrategySingle.h"
6 #include "ace/Log_Msg.h"
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 namespace TAO
12 namespace Portable_Server
14 int
15 ThreadStrategySingle::enter ()
17 return lock_.acquire();
20 int
21 ThreadStrategySingle::exit ()
23 return lock_.release();
28 TAO_END_VERSIONED_NAMESPACE_DECL
30 #endif /* TAO_HAS_MINIMUM_POA == 0 */