about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-07-07 11:46:09 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-07-12 12:51:13 -0700
commita7220d9046e292869dded2c478544850c220c7de (patch)
tree3f67e79f8fd97c84d5156bae36298ed9f54c1639 /src/libstd/sys/unix/stack_overflow.rs
parent31e9ed5d6cf567557d2219add7afedae93aaf2a5 (diff)
downloadrust-a7220d9046e292869dded2c478544850c220c7de.tar.gz
rust-a7220d9046e292869dded2c478544850c220c7de.zip
std: Clean out deprecated APIs
This primarily removes a lot of `sync::Static*` APIs and rejiggers the
associated implementations. While doing this it was discovered that the
`is_poisoned` method can actually result in a data race for the Mutex/RwLock
primitives, so the inner `Cell<bool>` was changed to an `AtomicBool` to prevent
the associated data race. Otherwise the usage/gurantees should be the same
they were before.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions