Releases: pedromfedricci/mcslock
Releases · pedromfedricci/mcslock
v0.4.0
[0.4.0] - 2024-11-04
- This version introduces breaking changes to fix a safety issue with the current API, see: #17.
Changed [BREAKING]
- 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)
Added
v0.3.0
Changed
-
BREAKING: Require
unsafe
forRelax
.Relax
no longer requiresDefault
.
Relax
now requires implementing thenew
function. All types under the
relax
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).
v0.2.0
v0.1.2
v0.1.1
v0.1.0
First released version.