diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-06-30 19:55:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-30 19:55:51 +0200 |
| commit | ebecc1310600b08250e5300558453c9883dec441 (patch) | |
| tree | 66f1a4db39069e7530ab1eaabfc3097724d95a89 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 0e71d1f23766cb78570ce71837e11f25dbd099be (diff) | |
| parent | af0c1fe83dcbb3b5b651962095ed9784a6746308 (diff) | |
| download | rust-ebecc1310600b08250e5300558453c9883dec441.tar.gz rust-ebecc1310600b08250e5300558453c9883dec441.zip | |
Rollup merge of #98503 - RalfJung:scope-race, r=m-ou-se
fix data race in thread::scope Puts the `ScopeData` into an `Arc` so it sticks around as long as we need it. This means one extra `Arc::clone` per spawned scoped thread, which I hope is fine. Fixes https://github.com/rust-lang/rust/issues/98498 r? `````@m-ou-se`````
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
