summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/Thread_Pool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTCORBA/Thread_Pool.cpp')
-rw-r--r--TAO/tao/RTCORBA/Thread_Pool.cpp17
1 files changed, 10 insertions, 7 deletions
diff --git a/TAO/tao/RTCORBA/Thread_Pool.cpp b/TAO/tao/RTCORBA/Thread_Pool.cpp
index 2490ca8ef21..f99ca6a6bb5 100644
--- a/TAO/tao/RTCORBA/Thread_Pool.cpp
+++ b/TAO/tao/RTCORBA/Thread_Pool.cpp
@@ -1,8 +1,8 @@
-// $Id$
-
#include "Thread_Pool.h"
-ACE_RCSID(tao, Thread_Pool, "$Id$")
+ACE_RCSID (RTCORBA,
+ Thread_Pool,
+ "$Id$")
#include "tao/Exception.h"
#include "ace/Auto_Ptr.h"
@@ -17,7 +17,9 @@ ACE_RCSID(tao, Thread_Pool, "$Id$")
# include "Thread_Pool.i"
#endif /* ! __ACE_INLINE__ */
-TAO_RT_New_Leader_Generator::TAO_RT_New_Leader_Generator (TAO_Thread_Lane &lane)
+
+TAO_RT_New_Leader_Generator::TAO_RT_New_Leader_Generator (
+ TAO_Thread_Lane &lane)
: lane_ (lane)
{
}
@@ -51,7 +53,8 @@ TAO_RT_New_Leader_Generator::no_leaders_available (void)
if (TAO_debug_level > 0)
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT ("TAO Process %P Pool %d Lane %d Thread %t\n")
- ACE_TEXT ("Current number of threads = %d; static threads = %d; dynamic threads = %d\n")
+ ACE_TEXT ("Current number of threads = %d; ")
+ ACE_TEXT ("static threads = %d; dynamic threads = %d\n")
ACE_TEXT ("No leaders available; creating new leader!\n"),
this->lane_.pool ().id (),
this->lane_.id (),
@@ -211,7 +214,7 @@ TAO_Thread_Lane::open (ACE_ENV_SINGLE_ARG_DECL)
if (result == -1)
ACE_THROW (CORBA::INTERNAL (
- CORBA_SystemException::_tao_minor_code (
+ CORBA::SystemException::_tao_minor_code (
TAO_ACCEPTOR_REGISTRY_OPEN_LOCATION_CODE,
0),
CORBA::COMPLETED_NO));
@@ -604,7 +607,7 @@ TAO_Thread_Pool::number_of_lanes (void) const
mon, \
this->lock_, \
CORBA::INTERNAL ( \
- CORBA_SystemException::_tao_minor_code ( \
+ CORBA::SystemException::_tao_minor_code ( \
TAO_GUARD_FAILURE, \
0), \
CORBA::COMPLETED_NO));