6 This is a test for forking new DTs from existing DTs using
7 Current::spawn (). A local DT is created with
8 Current::begin_scheduling_segment() and
9 Current::end_scheduling_segment (). A new DT is spawned within the
10 context of the DT created. The Thread_Action::do () method is called
11 when the spawned DT is activated. This method provides a point of
12 entry for the spawned DT.
14 This test also shows that the DT spawn should be made only within the
15 context of another DT.
26 Invoking DT spawn without calling begin_scheduling_segment...
28 (7141|1024) EXCEPTION, Spawn should be in the context of a Scheduling Segment
29 system exception, ID 'IDL:omg.org/CORBA/BAD_INV_ORDER:1.0'
30 TAO exception, minor code = 0 (unknown location; unspecified errno), completed = NO
32 Start - Scheduling Segment...
33 The Current DT Guid is 1
35 End - Scheduling Segment 1
36 Test_Thread_Action::do Harry Potter
37 The spawned DT Guid is 2
38 Segment Names for DT 2: