Provides a single global lock for Haskell code, implemented without unsafePerformIO
Haskell C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
System
cbits
test
.gitignore
LICENSE
README
Setup.hs
global-lock.cabal

README

global-lock provides a single global lock for Haskell code, implemented without
unsafePerformIO.  You can use this, for example, to protect a thread-unsafe C
library.  global-lock is usable as-is, or as a template for including a similar
lock in your own Haskell project.

Documentation is hosted at http://hackage.haskell.org/package/global-lock

To build the documentation yourself, run

  $ cabal configure && cabal haddock --hyperlink-source

This will produce HTML documentation under dist/doc/html/global-lock