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
12 namespace Portable_Server
15 ThreadStrategySingle::enter ()
17 return lock_
.acquire();
21 ThreadStrategySingle::exit ()
23 return lock_
.release();
28 TAO_END_VERSIONED_NAMESPACE_DECL
30 #endif /* TAO_HAS_MINIMUM_POA == 0 */