Commit d3aa8af
authored
cm-async: Remove assertion when disposing a task (#13092)
* cm-async: Remove assertion when disposing a task
This commit removes a now-older assertion when disposing of a guest task
that all threads are empty. This assertion is hit in a situation where
`TypedFunc::call_async` is used where the guest can't be entered due to
backpressure. The assertion is a bit dated now and originally this
helper function handled reparenting, but that's all gone now too. This
commit removes the assertion entirely meaning that in this situation the
guest thread will "leak" into the host, but the store is locked down at
that point anyway, so this is in theory reasonable.
* Fix miri testing1 parent da45b53 commit d3aa8af
2 files changed
Lines changed: 65 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1578 | 1578 | | |
1579 | 1579 | | |
1580 | 1580 | | |
1581 | | - | |
| 1581 | + | |
1582 | 1582 | | |
1583 | 1583 | | |
1584 | 1584 | | |
| |||
4612 | 4612 | | |
4613 | 4613 | | |
4614 | 4614 | | |
4615 | | - | |
4616 | | - | |
4617 | | - | |
4618 | | - | |
4619 | | - | |
4620 | | - | |
4621 | 4615 | | |
4622 | 4616 | | |
4623 | 4617 | | |
| |||
4778 | 4772 | | |
4779 | 4773 | | |
4780 | 4774 | | |
4781 | | - | |
| 4775 | + | |
4782 | 4776 | | |
4783 | 4777 | | |
4784 | 4778 | | |
| |||
5335 | 5329 | | |
5336 | 5330 | | |
5337 | 5331 | | |
5338 | | - | |
5339 | | - | |
| 5332 | + | |
| 5333 | + | |
5340 | 5334 | | |
5341 | 5335 | | |
5342 | | - | |
5343 | | - | |
5344 | | - | |
| 5336 | + | |
| 5337 | + | |
| 5338 | + | |
| 5339 | + | |
5345 | 5340 | | |
5346 | 5341 | | |
5347 | 5342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
0 commit comments