summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests/threaditerate/threaditerate.scn
blob: 9aeb43a21214155638d53365d5fd9dfc30eefcb9 (plain) (blame)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
*** Thread Iteration Test ***
Created and started an RTEMS task with id = 0x08010002
Created and started an RTEMS task with id = 0x08010003
Created and started an RTEMS task with id = 0x08010004
Created and started a pthread with id = 0x0c010001
Created and started a pthread with id = 0x0c010002
Created and started a pthread with id = 0x0c010003
Created and started an ITRON task with id = 0x10010002
Created and started an ITRON task with id = 0x10010003
Created and started an ITRON task with id = 0x10010004
Sleeping for 5 seconds

Looking for all threads

Thread ID 0x04010001 at 0x00192364
        type = INTERNAL_THREADS
        state = READY
        real priority = 255
        current priority = 255
        stack base = 0x0018cde8
        stack size = 0x00002008

Thread ID 0x08010001 at 0x00191390
        type = RTEMS_TASKS
        state = READY
        real priority = 1
        current priority = 1
        stack base = 0x0018ac54
        stack size = 0x00002008

Thread ID 0x08010002 at 0x001914ec
        type = RTEMS_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x00186ac0
        stack size = 0x00004008

Thread ID 0x08010003 at 0x00191648
        type = RTEMS_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x0018292c
        stack size = 0x00004008

Thread ID 0x08010004 at 0x001917a4
        type = RTEMS_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x0017c798
        stack size = 0x00006008

Thread ID 0x0c010001 at 0x0018fbf4
        type = POSIX_THREADS
        state = DELAYING | INTERRUPTIBLE_BY_SIGNAL
        real priority = 1
        current priority = 1
        stack base = 0x00178604
        stack size = 0x00004008

Thread ID 0x0c010002 at 0x0018fd50
        type = POSIX_THREADS
        state = DELAYING | INTERRUPTIBLE_BY_SIGNAL
        real priority = 1
        current priority = 1
        stack base = 0x00174470
        stack size = 0x00004008

Thread ID 0x0c010003 at 0x0018feac
        type = POSIX_THREADS
        state = DELAYING | INTERRUPTIBLE_BY_SIGNAL
        real priority = 1
        current priority = 1
        stack base = 0x001702dc
        stack size = 0x00004008

Thread ID 0x10010002 at 0x0018ef58
        type = ITRON_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x0016c148
        stack size = 0x00004008

Thread ID 0x10010003 at 0x0018f0b4
        type = ITRON_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x00167f24
        stack size = 0x00004008

Thread ID 0x10010004 at 0x0018f210
        type = ITRON_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x00161d00
        stack size = 0x00006008

That was it. Sleeping for 20 seconds.
TA1  - rtems_clock_get - 09:00:10   12/31/2000
TA2  - rtems_clock_get - 09:00:10   12/31/2000
TA3  - rtems_clock_get - 09:00:10   12/31/2000
pthread: ID is 0x0c010001
 - clock_gettime - Sun Dec 31 09:00:10 2000

pthread: ID is 0x0c010002
 - clock_gettime - Sun Dec 31 09:00:10 2000

pthread: ID is 0x0c010003
 - clock_gettime - Sun Dec 31 09:00:10 2000
ITRON task 1 - rtems_clock_get - 09:00:10   12/31/2000

ITRON task 2 - rtems_clock_get - 09:00:10   12/31/2000
ITRON task 3 - rtems_clock_get - 09:00:10   12/31/2000

Deleting the second thread of each type


Looking for all threads

Thread ID 0x04010001 at 0x00192364
        type = INTERNAL_THREADS
        state = READY
        real priority = 255
        current priority = 255
        stack base = 0x0018cde8
        stack size = 0x00002008

Thread ID 0x08010001 at 0x00191390
        type = RTEMS_TASKS
        state = READY
        real priority = 1
        current priority = 1
        stack base = 0x0018ac54
        stack size = 0x00002008

Thread ID 0x08010002 at 0x001914ec
        type = RTEMS_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x00186ac0
        stack size = 0x00004008

Thread ID 0x08010004 at 0x001917a4
        type = RTEMS_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x0017c798
        stack size = 0x00006008

Thread ID 0x0c010001 at 0x0018fbf4
        type = POSIX_THREADS
        state = DELAYING | INTERRUPTIBLE_BY_SIGNAL
        real priority = 1
        current priority = 1
        stack base = 0x00178604
        stack size = 0x00004008

Thread ID 0x0c010002 at 0x0018fd50
        type = POSIX_THREADS
        state = DELAYING | INTERRUPTIBLE_BY_SIGNAL
        real priority = 1
        current priority = 1
        stack base = 0x00174470
        stack size = 0x00004008

Thread ID 0x0c010003 at 0x0018feac
        type = POSIX_THREADS
        state = DELAYING | INTERRUPTIBLE_BY_SIGNAL
        real priority = 1
        current priority = 1
        stack base = 0x001702dc
        stack size = 0x00004008

Thread ID 0x10010002 at 0x0018ef58
        type = ITRON_TASKS
        state = DELAYING
        real priority = 1
        current priority = 1
        stack base = 0x0016c148
        stack size = 0x00004008

Thread ID 0x10010003 at 0x0018f0b4
        type = ITRON_TASKS
        state = DORMANT
        real priority = 1
        current priority = 1
        stack base = 0x00167f24
        stack size = 0x00004008

Thread ID 0x10010004 at 0x0018f210
        type = ITRON_TASKS
        state = DELAYING
        real priority =1
        current priority = 1
        stack base = 0x00161d00
        stack size = 0x00006008

That was it. Exiting