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.
- This version introduces breaking changes to fix a safety issue with the current API, see: #17.
- Remove
raw::MutexGuard
type,raw::Mutex::lock
andraw::Mutex::try_lock
methods (#17) - Rename
raw::Mutex::lock_with
method toraw::Mutex::lock_then
(#17) - Rename
raw::Mutex::try_lock_with
method toraw::Mutex::try_lock_then
(#17) - Rename
raw::Mutex::lock_with_local
method toraw::Mutex::lock_with_local_then
(#17) - Rename
raw::Mutex::lock_with_local_unchecked
method toraw::Mutex::lock_with_local_then_unchecked
(#17) - Rename
raw::Mutex::try_lock_with_local
method toraw::Mutex::try_lock_with_local_then
(#17) - Rename
raw::Mutex::try_lock_with_local_unchecked
method toraw::Mutex::try_lock_with_local_then_unchecked
(#17) - Rename
barging::Mutex::lock_with
method tobarging::Mutex::lock_then
(#17) - Rename
barging::Mutex::try_lock_with
method tobarging::Mutex::try_lock_then
(#17) - Change closure parameters of
raw::Mutex
'sthen
(previouswith
) locking methods fromMutexGuard
to&mut T
(#17)
- Please use 0.4.0, see #17.
-
BREAKING: Require
unsafe
forRelax
.Relax
no longer requiresDefault
.Relax
now requires implementing thenew
function. All types under therelax
module no longer implementDefault
(#14). -
BREAKING:
barging::Mutex
has now two generic parameters for relax strategies as oppose to one:Rs
andRq
(#15). -
BREAKING: The root level
lock_api
module has been moved under thebarging
module (#16).
- Please use 0.3.0, see #14.
- BREAKING: Add new thread_local locking design (#11).
- BREAKING: Remove MutexNode reexports (#12).
- Add Default impl for MutexNode (#10).
- Unbound R from Send/Sync when implementing Send/Sync (
fda47a7
).
- New unchecked locking APIs for
thread_local::Mutex
(#9). - Track caller location when
thread_local::Mutex
panics (#9).
- Initial release.