summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool5/README
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool5/README')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool5/README47
1 files changed, 47 insertions, 0 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/README b/TAO/examples/CSD_Strategy/ThreadPool5/README
new file mode 100644
index 00000000000..29b72f8a861
--- /dev/null
+++ b/TAO/examples/CSD_Strategy/ThreadPool5/README
@@ -0,0 +1,47 @@
+# $Id$
+
+Description:
+
+This test is a combination of other tests and has also added some
+other test cases such as cancel_servant. It uses the command
+line options for the number of orb threads, number of servants,
+collocated test options, etc.
+
+The client application acts as a server too because of the callback
+test. The client application also uses a custom dispatching strategy.
+
+To run the test use the run_test.pl script:
+
+$ ./run_test.pl
+
+ This test is similar to the "ThreadPool" test.
+
+$ ./run_test.pl collocated
+
+ This runs the collocated test.
+
+ The server application creates one servant, runs one orb
+ thread, runs two custom dispatching threads and one client
+ thread to invoke the operations.
+
+ Running two custom dispatching threads instead of one is
+ required to avoid deadlock.
+
+$ ./run_test.pl multiple_servants
+
+ This test is similar to the "ThreadPool2" test.
+
+$ ./run_test.pl multiple_orb_threads
+
+ This test is similar to the "ThreadPool3" test.
+
+$ ./run_test.pl cancel_servant
+
+ This test shows that requests stuck in the request queue are
+ cancelled when a servant is deactivated.
+
+ The client invokes multiple two-way operations and catches the
+ OBJECT_NOT_EXIST or NO_IMPLEMENTATION exception after the servant
+ is deactivated - this is what it is supposed to do - the exceptions
+ are expected.
+