diff options
| author | Alexis Beingessner <a.beingessner@gmail.com> | 2015-08-12 14:37:27 -0700 |
|---|---|---|
| committer | Alexis Beingessner <a.beingessner@gmail.com> | 2015-08-19 15:52:12 -0700 |
| commit | dfa4bca88932a9503d0600bfa7ca24e6950935e6 (patch) | |
| tree | 5f00cfcfcb515e27a192bb2b8f5470258615abd7 /src/rustllvm/RustWrapper.cpp | |
| parent | 635f7360b6e76d46fb60da18f37401d33dc651ce (diff) | |
| download | rust-dfa4bca88932a9503d0600bfa7ca24e6950935e6.tar.gz rust-dfa4bca88932a9503d0600bfa7ca24e6950935e6.zip | |
Rework Arc for FCP of #27718
* Add previously omitted function `Arc::try_unwrap(Self) -> Result<T, Self>` * Move `arc.downgrade()` to `Arc::downgrade(&Self)` per conventions. * Deprecate `Arc::weak_count` and `Arc::strong_count` for raciness. It is almost impossible to correctly act on these results without a CAS loop on the actual fields. * Rename `Arc::make_unique` to `Arc::make_mut` to avoid uniqueness terminology and to clarify relation to `Arc::get_mut`.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
