3 ===========================================================================
4 Directory: $TAO_ROOT/tests/CSD_Strategy_Tests/TP_Test_5
6 ===========================================================================
8 ===========================================================================
9 Directory: $TAO_ROOT/tests/CSD_Strategy_Tests/TP_Test_Static
11 ===========================================================================
12 This test shows the ThreadPool strategy can automatically apply to the poa
13 via service configuration file dynamic directive.
15 This simple test is a copy of $TAO_ROOT/tests/Hello test. The difference is
16 this test contains the svc.conf file to configure the CSD strategies and the
17 poas that apply the CSD strategy.
19 A new TP_Strategy object is created during the initialization of the
20 TP_Strategy_Factory service object and it will be automatically applied to
23 The service configuration file specifies the number of threads that
24 the ThreadPool strategy have and also specify which poa the strategy should
25 apply to. We can specify multiple ThreadPool strategies and the poas via -CSDtp
29 dynamic TAO_CSD_TP_Strategy_Factory Service_Object *
30 TAO_CSD_ThreadPool:_make_TAO_CSD_TP_Strategy_Factory() "-CSDtp RootPOA:2 -CSDtp childpoa:4"
33 To run the test use the run_test.pl script:
37 the script returns 0 if the test was successful.