summaryrefslogtreecommitdiff
path: root/TAO/tests/RTScheduling/DT_Spawn/README
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/RTScheduling/DT_Spawn/README')
-rw-r--r--TAO/tests/RTScheduling/DT_Spawn/README39
1 files changed, 39 insertions, 0 deletions
diff --git a/TAO/tests/RTScheduling/DT_Spawn/README b/TAO/tests/RTScheduling/DT_Spawn/README
new file mode 100644
index 00000000000..dfb0a850b48
--- /dev/null
+++ b/TAO/tests/RTScheduling/DT_Spawn/README
@@ -0,0 +1,39 @@
+//$Id$
+
+Case
+----
+
+This is a test for forking new DTs from existing DTs using
+Current::spawn (). A local DT is created with
+Current::begin_scheduling_segment() and
+Current::end_scheduling_segment (). A new DT is spawned within the
+context of the DT created. The Thread_Action::do () method is called
+when the spawned DT is activated. This method provides a point of
+entry for the spawned DT.
+
+This test also shows that the DT spawn should be made only within the
+context of another DT.
+
+
+To Run
+-------
+
+./test
+
+Typical Output
+--------------
+
+Invoking DT spawn without calling begin_scheduling_segment...
+
+(7141|1024) EXCEPTION, Spawn should be in the context of a Scheduling Segment
+system exception, ID 'IDL:omg.org/CORBA/BAD_INV_ORDER:1.0'
+TAO exception, minor code = 0 (unknown location; unspecified errno), completed = NO
+
+Start - Scheduling Segment...
+The Current DT Guid is 1
+Spawning a new DT...
+End - Scheduling Segment 1
+Test_Thread_Action::do Harry Potter
+The spawned DT Guid is 2
+Segment Names for DT 2:
+Chamber of Secrets