diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-06-30 19:55:51 +0200 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2022-07-05 11:05:04 -0700 |
| commit | f0f48ee8a46b700324f58d70120d7293dc3bb0d6 (patch) | |
| tree | abbd022ac804517f879f775a8914abdf4720ee0b /compiler/rustc_codegen_gcc | |
| parent | 645c3229d72d1417146e0660c47daae59ba171b1 (diff) | |
| download | rust-f0f48ee8a46b700324f58d70120d7293dc3bb0d6.tar.gz rust-f0f48ee8a46b700324f58d70120d7293dc3bb0d6.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 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
