summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool2
diff options
context:
space:
mode:
authordai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-10-21 21:16:51 +0000
committerdai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-10-21 21:16:51 +0000
commit733cc627cc447a252f081b970333dec0b4ba68bc (patch)
tree2ebf0459f8650cb22843ce99d963d45c5bd41cd6 /TAO/examples/CSD_Strategy/ThreadPool2
parent9f693c410656d8d30932b3c20076fe34d4a8c0b0 (diff)
downloadATCD-733cc627cc447a252f081b970333dec0b4ba68bc.tar.gz
Fri Oct 21 14:12:49 MST 2005 Yan Dai <dai_y@ociweb.com>
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool2')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/CSD_Test_ThreadPool2.mpc2
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/CSD_Test_ThreadPool2.mpc b/TAO/examples/CSD_Strategy/ThreadPool2/CSD_Test_ThreadPool2.mpc
index c14935e056d..d29af164197 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/CSD_Test_ThreadPool2.mpc
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/CSD_Test_ThreadPool2.mpc
@@ -1,7 +1,7 @@
// -*- MPC -*-
// $Id$
-project(*Server): csd_threadpool, taoexe, portableserver {
+project(*Server): csd_threadpool, taoexe, portableserver, pi {
exename = server_main
Source_Files {
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp b/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp
index a9986df9ec5..30670fa4ee3 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp
@@ -6,6 +6,9 @@
#include "ace/Get_Opt.h"
#include "tao/CSD_ThreadPool/CSD_TP_Strategy.h"
#include "tao/Intrusive_Ref_Count_Handle_T.h"
+// To force static load the service.
+#include "tao/PI/PI.h"
+#include "tao/CSD_ThreadPool/CSD_ThreadPool.h"
ServerApp::ServerApp()