Commit c5e214c
authored
dynamic_async: Add breakpoint for when a job is cancelled (#551)
Previously, when the job cancel function was called, the job itself
wasn't notified that it's cancelled. This caused a deadlock in
the calling function due to waiting forever in a queue.
Therefore, add a signal to break out of the generation loop on a
call to cancel.
Signed-off-by: kingbri <bdashore3@proton.me>1 parent 3ffcc74 commit c5e214c
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| 104 | + | |
0 commit comments