simple_mutex 2.0.0 copy "simple_mutex: ^2.0.0" to clipboard
simple_mutex: ^2.0.0 copied to clipboard

retracted

Simple but the best Mutex providing a exclusive write lock and shared read-only locks.

Change Log #

2.0.0 #

  • Breaqking chage: Delete the deliver options.
    Because await is not promised to yield control to other asynchronous code, the behavior of deliver = false is not promised, as well. So, it is deleted and handmade waiting queue is added as a substitute of the microtask queue.
    See dart-lang/language#2689.

1.5.1 #

  • Fix typos in documents.

1.5.0 #

  • Breaking change: make the deliver option from positional to named.
  • Add timeLimit optional parameters.
  • Relax the requierment of the dart SDK.

1.4.1 #

  • Update the example.

1.4.0 #

  • Add propeties isLocked and sharedCount for test.

1.3.2 #

  • Fix bug of example.
  • Recomend unawaited_futures lint in README.md.

1.3.1 #

  • Add example.

1.3.0 #

  • Add return to critical and criticalShared.

1.2.1 #

  • Rerun the formatter correctly.
  • Update doc comments.

1.2.0 #

  • Add a optional behavior to lock and critical. The new behavior yield execution right to existing users having requested exclusive/ shared locks.

1.1.1 #

  • Refine documents.

1.1.0 #

  • Add critical section feature.

1.0.0 #

  • Initial version.
2
likes
0
pub points
33%
popularity

Publisher

unverified uploader

Simple but the best Mutex providing a exclusive write lock and shared read-only locks.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on simple_mutex