diff options
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool2')
-rw-r--r-- | TAO/examples/CSD_Strategy/ThreadPool2/CSD_Test_ThreadPool2.mpc | 2 | ||||
-rw-r--r-- | TAO/examples/CSD_Strategy/ThreadPool2/ServerApp.cpp | 3 |
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() |