summaryrefslogtreecommitdiff
path: root/TAO/tests/RTScheduling/Current/README
blob: 574bf9c3c2eb507d5dc4f52be57ecd68d1a540d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
$Id$

Case
----

This is a test of the various operations in the RTScheduling::Current
Interface used to create and manage DTs. Four DTs are created. The
following are the operations and cases tested:

1. Out of context end_scheduling_segment () invocation.
2. Out of context update_scheduling_segment () invocation.
3. Creation of DT's consisting of nested scheduling segments using
   begin_scheduling_segment () and end_scheduling_segment () operations.
4. Retreiving DT Guid with Current::id () method.
5. Listing the names of the scheduling segments using
   current_scheduling_segment_names ().

To Run
------

./test


Typical Output
--------------

Making an end_scheduling_segment call without first calling begin_scheduling_segment
Missing scheduling context OR DT cancelled
(10205|1024) EXCEPTION, End Scheduling Segment is out of context
system exception, ID 'IDL:omg.org/CORBA/BAD_INV_ORDER:1.0'
TAO exception, minor code = 0 (unknown location; unspecified errno), completed = NO

Making an update_scheduling_segment call without first calling begin_scheduling_segment
(10205|1024) EXCEPTION, Update Scheduling Segment is out of context:
system exception, ID 'IDL:omg.org/CORBA/BAD_INV_ORDER:1.0'
TAO exception, minor code = 0 (unknown location; unspecified errno), completed = NO

Starting Distributable Thread 1 with 3 nested scheduling segments....
Starting Distributable Thread 2 with 3 nested scheduling segments....
Segment Names for DT 1 :
The Return of the King
Two Towers
Fellowship of the Rings
Segment Names for DT 2 :
DT 1 terminated ...
The Return of the King
Two Towers
Fellowship of the Rings
DT 2 terminated ...
Starting Distributable Thread 3 with 3 nested scheduling segments....
Segment Names for DT 3 :
The Return of the King
Two Towers
Fellowship of the Rings
DT 3 terminated ...
Starting Distributable Thread 4 with 3 nested scheduling segments....
Segment Names for DT 4 :
The Return of the King
Two Towers
Fellowship of the Rings
DT 4 terminated ...