Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@pedromfedricci pedromfedricci released this 04 Nov 21:27
· 1 commit to main since this release
v0.4.0
04009af

[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 and raw::Mutex::try_lock methods (#17)
  • Rename raw::Mutex::lock_with method to raw::Mutex::lock_then (#17)
  • Rename raw::Mutex::try_lock_with method to raw::Mutex::try_lock_then (#17)
  • Rename raw::Mutex::lock_with_local method to raw::Mutex::lock_with_local_then (#17)
  • Rename raw::Mutex::lock_with_local_unchecked method to raw::Mutex::lock_with_local_then_unchecked (#17)
  • Rename raw::Mutex::try_lock_with_local method to raw::Mutex::try_lock_with_local_then (#17)
  • Rename raw::Mutex::try_lock_with_local_unchecked method to raw::Mutex::try_lock_with_local_then_unchecked (#17)
  • Rename barging::Mutex::lock_with method to barging::Mutex::lock_then (#17)
  • Rename barging::Mutex::try_lock_with method to barging::Mutex::try_lock_then (#17)
  • Change closure parameters of raw::Mutex's then (previous with) locking methods from MutexGuard to &mut T (#17)

Added

  • Add new raw::Mutex::lock_with_then method #17
  • Add new raw::Mutex::try_lock_with_then method #17