diff options
author | bala <balanatarajan@users.noreply.github.com> | 2004-02-17 23:01:29 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2004-02-17 23:01:29 +0000 |
commit | 9f7dcb168eccd61e6518f3b4a1337aab6feb3a83 (patch) | |
tree | 00d0ec08348ecc0248ab7d2332f0b70054996c40 /TAO/tao | |
parent | ff5acc52ab850e4183e8e154749f7f07a52f4030 (diff) | |
download | ATCD-9f7dcb168eccd61e6518f3b4a1337aab6feb3a83.tar.gz |
ChangeLogTag:Tue Feb 17 16:56:45 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/Acceptor_Impl.cpp | 3 | ||||
-rw-r--r-- | TAO/tao/Thread_Per_Connection_Handler.cpp | 8 | ||||
-rw-r--r-- | TAO/tao/Thread_Per_Connection_Handler.h | 6 |
3 files changed, 11 insertions, 6 deletions
diff --git a/TAO/tao/Acceptor_Impl.cpp b/TAO/tao/Acceptor_Impl.cpp index f1abf134d1a..c5970ddd64c 100644 --- a/TAO/tao/Acceptor_Impl.cpp +++ b/TAO/tao/Acceptor_Impl.cpp @@ -121,7 +121,8 @@ TAO_Concurrency_Strategy<SVC_HANDLER>::activate_svc_handler (SVC_HANDLER *sh, TAO_Thread_Per_Connection_Handler *tpch = 0; ACE_NEW_RETURN (tpch, - TAO_Thread_Per_Connection_Handler (sh), + TAO_Thread_Per_Connection_Handler (sh, + this->orb_core_), -1); result = tpch->activate (f->server_connection_thread_flags (), diff --git a/TAO/tao/Thread_Per_Connection_Handler.cpp b/TAO/tao/Thread_Per_Connection_Handler.cpp index 2a09e00dbf1..9983d440884 100644 --- a/TAO/tao/Thread_Per_Connection_Handler.cpp +++ b/TAO/tao/Thread_Per_Connection_Handler.cpp @@ -3,7 +3,7 @@ #include "Connection_Handler.h" #include "debug.h" #include "Transport.h" - +#include "ORB_Core.h" #include "ace/Flag_Manip.h" ACE_RCSID (tao, @@ -11,8 +11,10 @@ ACE_RCSID (tao, "$Id$") TAO_Thread_Per_Connection_Handler::TAO_Thread_Per_Connection_Handler ( - TAO_Connection_Handler *ch) - : ch_ (ch) + TAO_Connection_Handler *ch, + TAO_ORB_Core *oc) + : TAO_TPC_BASE (oc->thr_mgr ()) + , ch_ (ch) { this->ch_->transport ()->add_reference (); } diff --git a/TAO/tao/Thread_Per_Connection_Handler.h b/TAO/tao/Thread_Per_Connection_Handler.h index a224ec10c4f..aa26c9b133a 100644 --- a/TAO/tao/Thread_Per_Connection_Handler.h +++ b/TAO/tao/Thread_Per_Connection_Handler.h @@ -23,9 +23,10 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -#include "TAO_Export.h" +#include "tao/TAO_Export.h" class TAO_Connection_Handler; +class TAO_ORB_Core; typedef ACE_Task<ACE_NULL_SYNCH> TAO_TPC_BASE; @@ -42,7 +43,8 @@ typedef ACE_Task<ACE_NULL_SYNCH> TAO_TPC_BASE; class TAO_Export TAO_Thread_Per_Connection_Handler : public TAO_TPC_BASE { public: - TAO_Thread_Per_Connection_Handler (TAO_Connection_Handler *ch); + TAO_Thread_Per_Connection_Handler (TAO_Connection_Handler *ch, + TAO_ORB_Core *oc); ~TAO_Thread_Per_Connection_Handler (void); |