Skip to content

Releases: tokio-rs/loom

Loom 0.7.1

02 Oct 12:15
fd51ef8
Compare
Choose a tag to compare

Added

  • Add Atomic*::into_inner (#327)
  • Add get_mut to Mutex and RwLock (#322)
  • Implement AsRef and Borrow for Arc (#325)

Loom 0.7.0

04 Aug 16:32
0cdd453
Compare
Choose a tag to compare

Added

  • explore(), stop_exploring(), skip_branch() enable reducing the
    concurrent state exploration (#323).

Loom 0.6.1

21 Jul 20:09
11d6894
Compare
Choose a tag to compare

Fixed

  • Avoid cancelling generators as it is not a thread-safe operation (#318)

Loom 0.6.0

27 Jun 16:59
bcf4e84
Compare
Choose a tag to compare

Changed

  • Increase max threads to 5 (#314)

Added

  • Support setting model thread stack size (#311)

Fixed

  • Fix corner case in RwLock (#300).

Loom 0.5.6

19 May 19:57
d102c10
Compare
Choose a tag to compare

Added

  • cell: add UnsafeCell::into_inner for parity with std (#272)
  • sync: re-enable Arc::strong_count (#172)
  • sync: implement Arc::try_unwrap (#262)
  • sync: add mpsc::Receiver::try_recv (#262)

Documented

  • show feature flags in docs (#151)
  • fix broken RustDoc links (#273)

Loom 0.5.5

13 May 19:11
fdbaa7a
Compare
Choose a tag to compare

Added

  • sync: Add Arc::from_std without T: Sized bound (#226)
  • sync: Implement Debug for AtomicPtr for all T (#255)
  • logs: Add location tracking for threads and atomic operations (#258)
  • logs: Add additional location tracking to Arc, alloc, and mpsc (#265)
  • logs: Improve tracing configuration for LOOM_LOG (#266)
  • logs: Add a span for the current model's iteration (#267)

Documented

  • Add note about in-memory representation of atomic types (#253)
  • Document LOOM_LOG syntax (#257)

Fixed

  • Fix double panic when exceeding the branch limit in Drop (#245)
  • cell: Allow using {Mut,Const}Ptr::{deref,with} when the pointee is !Sized
    (#247)
  • thread: Fix semantics of thread::park after Thread::unpark (#250)

Loom v0.5.2

07 Oct 09:05
0d7f0d5
Compare
Choose a tag to compare

0.5.2 (October 7, 2021)

Added

  • Add a loom::cell::Cell, which provides a basic wrapper of the loom UnsafeCell (#196)
  • Arc counter manipulations (#225)
  • Implement Mutex::into_inner and RwLock::into_inner (#215)
  • Implement Release, AcqRel, and SeqCst fences (#220)
  • Arc::as_ptr added (#230)
  • Arc::pin added (#224)

Changed

  • Remove implicit T: Sized requirement from UnsafeCell (#222)
  • Update tracing (#227)

v0.5.1

02 Jul 18:10
562211d
Compare
Choose a tag to compare
chore: prepare v0.5.1 (#218)