You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Added
Changed
Fixed
[0.7.1] - 2021-01-12
Fixed
- Prevented
Once
leaking the inner value upon drop
[0.7.0] - 2020-10-18
Added
Once::initialized
Once::get_mut
Once::try_into_inner
Once::poll
RwLock
,Mutex
andOnce
now implementFrom<T>
Lazy
type for lazy initializationTicketMutex
, an alternative mutex implementationstd
feature flag to enable thread yielding instead of spinningMutex::is_locked
/SpinMutex::is_locked
/TicketMutex::is_locked
Barrier
Changed
Once::wait
now spins even if initialization has not yet startedGuard::leak
is now an associated function instead of a method- Improved the performance of
SpinMutex
by relaxing unnecessarily conservative ordering requirements
[0.6.0] - 2020-10-08
Added
- More dynamic
Send
/Sync
bounds for lock guards lock_api
compatibilityGuard::leak
methodsRwLock::reader_count
andRwLock::writer_count
Display
implementation for guard types
Changed
- Made
Debug
impls of lock guards just show the inner type likestd