Repository navigation
Commit aeedef9
committed
Release the task queue lock while running cancel handlers
em_task_queue_cancel ran cancel handlers with the queue lock held. A
handler can block, and a blocked thread processes its dlopen queue, which
can be the queue being cancelled: a thread exiting during dlopen() then
deadlocks on its own lock. em_task_queue_execute already unlocks around
tasks.
See #18887.1 parent e52f8cf commit aeedef9
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
191 | 195 | | |
| 196 | + | |
192 | 197 | | |
193 | 198 | | |
194 | 199 | | |
| |||
0 commit comments