mutex 3.1.0 copy "mutex: ^3.1.0" to clipboard
mutex: ^3.1.0 copied to clipboard

Mutual exclusion with implementation of normal and read-write mutex

3.1.0 #

  • Increased minimum Dart SDK to 2.15.0 for unawaited function.
  • Added development dependencies lints ^2.1.1 and pana: ^0.21.37.
  • Fixed code to remove lint warnings.

3.0.1 #

  • Fixed bug with new read mutexes preventing a write mutex from being acquired.

3.0.0 #

  • BREAKING CHANGE: critical section functions must return a Future.
    • This is unlikely to affect real-world code, since only functions containing asynchronous code would be critical.
  • Protect method returns Future to the value from the critical section.

2.0.0 #

  • Null safety release.

2.0.0-nullsafety.0 #

  • Pre-release version: updated library to null safety (Non-nullable by default).
  • Removed support for Dart 1.x.

1.1.0 #

  • Added protect, protectRead and protectWrite convenience methods.
  • Improved tests to not depend on timing.

1.0.3 #

  • Added an example.

1.0.2 #

  • Code clean up to satisfy pana 0.13.2 health checks.

1.0.1 #

  • Fixed dartanalyzer warnings.

1.0.0 #

  • Updated the upper bound of the SDK constraint to <3.0.0.

0.0.1 #

  • Initial version
105
likes
150
pub points
98%
popularity

Publisher

verified publisherhoylen.com

Mutual exclusion with implementation of normal and read-write mutex

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on mutex