mirror of
https://github.com/openharmony/third_party_rust_parking_lot.git
synced 2026-07-01 21:03:59 -04:00
Release parking_lot 0.12.0, parking_lot_core 0.9.0, lock_api 0.4.6
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
## parking_lot 0.12.0, parking_lot_core 0.9.0, lock_api 0.4.6 (2022-01-28)
|
||||
|
||||
- The MSRV is bumped to 1.49.0.
|
||||
- Disabled eventual fairness on wasm32-unknown-unknown. (#302)
|
||||
- Added a rwlock method to report if lock is held exclusively. (#303)
|
||||
- Use new `asm!` macro. (#304)
|
||||
- Use windows-rs instead of winapi for faster builds. (#311)
|
||||
- Moved hardware lock elision support to a separate Cargo feature. (#313)
|
||||
- Removed used of deprecated `spin_loop_hint`. (#314)
|
||||
|
||||
## parking_lot 0.11.2, parking_lot_core 0.8.4, lock_api 0.4.5 (2021-08-28)
|
||||
|
||||
- Fixed incorrect memory orderings on `RwLock` and `WordLock`. (#294, #292)
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "parking_lot"
|
||||
version = "0.11.2"
|
||||
version = "0.12.0"
|
||||
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
|
||||
description = "More compact and efficient implementations of the standard synchronization primitives."
|
||||
license = "Apache-2.0/MIT"
|
||||
@@ -11,8 +11,8 @@ categories = ["concurrency"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
parking_lot_core = { path = "core", version = "0.8.4" }
|
||||
lock_api = { path = "lock_api", version = "0.4.5" }
|
||||
parking_lot_core = { path = "core", version = "0.9.0" }
|
||||
lock_api = { path = "lock_api", version = "0.4.6" }
|
||||
|
||||
[dev-dependencies]
|
||||
rand = "0.8.3"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "parking_lot_core"
|
||||
version = "0.8.5"
|
||||
version = "0.9.0"
|
||||
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
|
||||
description = "An advanced API for creating custom synchronization primitives."
|
||||
license = "Apache-2.0/MIT"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lock_api"
|
||||
version = "0.4.5"
|
||||
version = "0.4.6"
|
||||
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
|
||||
description = "Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std."
|
||||
license = "Apache-2.0/MIT"
|
||||
|
||||
Reference in New Issue
Block a user