Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.2k
Commit19844b4
rp2/modmachine: Prevent lock-up when lightsleep() called within thread.
When `lightsleep()` is called from within a thread the interrupts may notbe enabled on current core, and thus the call to `lightsleep()` nevercompletes.Fixes issue#14092.Signed-off-by: Simon Wood <simon@mungewell.org>1 parentf76cf29 commit19844b4
1 file changed
+13
-3
lines changedLines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
| 130 | + | |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
134 | 134 |
| |
135 | 135 |
| |
136 | 136 |
| |
| |||
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
| 168 | + | |
| 169 | + | |
168 | 170 |
| |
169 | 171 |
| |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
170 | 177 |
| |
171 | 178 |
| |
172 | 179 |
| |
| |||
177 | 184 |
| |
178 | 185 |
| |
179 | 186 |
| |
| 187 | + | |
| 188 | + | |
| 189 | + | |
180 | 190 |
| |
181 | 191 |
| |
182 | 192 |
| |
| |||
186 | 196 |
| |
187 | 197 |
| |
188 | 198 |
| |
189 |
| - | |
| 199 | + | |
190 | 200 |
| |
191 | 201 |
| |
192 | 202 |
| |
|
0 commit comments
Comments
(0)