mvar-lock: A trivial lock based on MVar

[ apache, concurrency, library ] [ Propose Tags ] [ Report a vulnerability ]

Using an MVar as a lock is a common pattern. This module just wraps that up into some functions with nice names that make the pattern explicit.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4
Change log changelog.md
Dependencies base (>=4.16 && <4.18), safe-exceptions (>=0.1.7 && <0.2) [details]
License Apache-2.0
Author Chris Martin <ch.martin@gmail.com>
Maintainer Chris Martin <ch.martin@gmail.com>
Category Concurrency
Home page https://github.com/chris-martin/mvar-lock
Uploaded by chris_martin at 2023-01-28T01:06:34Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2001 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-01-28 [all 1 reports]

Readme for mvar-lock-0.1.0.4

[back to package description]

Using an MVar as a lock is a common pattern. This module just wraps that up into some functions with nice names that make the pattern explicit.