mvar-lock: A trivial lock based on MVar.

[ apache, concurrency, library ] [ Propose Tags ]

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.


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,
Dependencies base (>=4.9 && <4.17), safe-exceptions (>=0.1 && <0.2) [details]
License Apache-2.0
Author Chris Martin <>
Maintainer Chris Martin <>
Category Concurrency
Home page
Uploaded by chris_martin at 2022-03-15T20:26:55Z
Distributions NixOS:
Downloads 1744 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-15 [all 1 reports]