Repository navigation
Commit 57666f4
committed
Repeat the terminate request of the thread_rescheduling test until the thread ends
set_thread_state carries out a request for a running thread later, in a
helper task nothing waits for. Such a request (the 'signaled' one, or a
'suspended' one of the tree_boot tasks) may therefore arrive after the
terminate request, and a request for the state a thread is already in does
nothing: the terminate request could still be lost. It is now repeated
whenever the thread is suspended, until the thread has terminated.
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>1 parent a4d3c71 commit 57666f4
1 file changed
Lines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | | - | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
172 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
173 | 183 | | |
174 | 184 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 185 | | |
180 | 186 | | |
181 | 187 | | |
| |||
0 commit comments