about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-30 19:55:51 +0200
committerGitHub <noreply@github.com>2022-06-30 19:55:51 +0200
commitebecc1310600b08250e5300558453c9883dec441 (patch)
tree66f1a4db39069e7530ab1eaabfc3097724d95a89 /library/std/src/sys/unix/stack_overflow.rs
parent0e71d1f23766cb78570ce71837e11f25dbd099be (diff)
parentaf0c1fe83dcbb3b5b651962095ed9784a6746308 (diff)
downloadrust-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