Commit 84d488c
committed
Ignore task priorities in the actor runtime.
The actor runtime has some known issues with deadlock when an actor has
to give up its thread because it's running lower-priority work. To
avoid deadlocks here, disable all of the logic that tries to give up
higher-priority threads when only lower-priority work is available, or
to escalate work, effectively making the actor runtime ignore
priorities internally.
Fixes rdar://79378762.1 parent c225a1c commit 84d488c
File tree
2 files changed
+5
-10
lines changed- stdlib/public/Concurrency
- test/Concurrency/Runtime
2 files changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | | - | |
1054 | | - | |
| 1053 | + | |
1055 | 1054 | | |
1056 | 1055 | | |
1057 | 1056 | | |
| |||
1214 | 1213 | | |
1215 | 1214 | | |
1216 | 1215 | | |
1217 | | - | |
1218 | | - | |
| 1216 | + | |
1219 | 1217 | | |
1220 | 1218 | | |
1221 | 1219 | | |
| |||
1316 | 1314 | | |
1317 | 1315 | | |
1318 | 1316 | | |
1319 | | - | |
1320 | | - | |
| 1317 | + | |
1321 | 1318 | | |
1322 | 1319 | | |
1323 | 1320 | | |
| |||
1399 | 1396 | | |
1400 | 1397 | | |
1401 | 1398 | | |
1402 | | - | |
1403 | | - | |
| 1399 | + | |
1404 | 1400 | | |
1405 | 1401 | | |
1406 | 1402 | | |
| |||
1646 | 1642 | | |
1647 | 1643 | | |
1648 | 1644 | | |
1649 | | - | |
| 1645 | + | |
1650 | 1646 | | |
1651 | 1647 | | |
1652 | 1648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
0 commit comments