diff options
Diffstat (limited to 'TAO/tao/Acceptor_Impl.cpp')
-rw-r--r-- | TAO/tao/Acceptor_Impl.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/tao/Acceptor_Impl.cpp b/TAO/tao/Acceptor_Impl.cpp index fa123ff5473..defa5115d64 100644 --- a/TAO/tao/Acceptor_Impl.cpp +++ b/TAO/tao/Acceptor_Impl.cpp @@ -28,6 +28,7 @@ #include "tao/Server_Strategy_Factory.h" #include "tao/Connector_Registry.h" #include "tao/debug.h" +#include "ace/Object_Manager.h" #if !defined(__ACE_INLINE__) #include "tao/Acceptor_Impl.i" @@ -133,9 +134,9 @@ TAO_Accept_Strategy<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::out_of_sockets_handler (v // connection cache maintained by the connectors in the // connector registry. if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, + ACE_DEBUG ((LM_DEBUG, "Purging connections from Connectors in Connector Registry of all ORBs...\n")); - + ACE_MT (ACE_GUARD_RETURN (ACE_SYNCH_RECURSIVE_MUTEX, guard, *ACE_Static_Object_Lock::instance (), 0)); @@ -152,10 +153,10 @@ TAO_Accept_Strategy<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::out_of_sockets_handler (v if (result != 0) return result; } - + return 0; } - + return -1; } |