Commit 90e9a44
committed
shims: fix TAILQ_CONCAT() edge cases
This needs to set the `te_next` of the last element in `head1` and also
handle the case where `head1` is empty. This fixes a hang in the
dispatch_context_for_key test on Windows because the the queue-specific
list was getting corrupted in `_dispatch_queue_specific_head_dispose()`.1 parent c5af10f commit 90e9a44
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
0 commit comments